I want to track how much a user uses his iPhone and iPad each day. Like if someone uses his device from 4:10 pm to 4:20 pm and 5:20 to 5:30 pm throughout the day. Then the total time measured by my app will be 20 minutes. Like this app
I have some tentative plan that
- Run some background service that continuously check device status for
being uses or not.
- Captures device lock event might be helpful
But I can’t exactly figure out solution.