Get phone usage stats on iOS

Viewed 144

I am building a mobile app for digital detox which requires tracking app usage by the user.

On android we have the Usage Stats Manager that provides events as well as aggregated stats and works well.

Apple announced ScreenTime and DeviceActivity recently which are synonymous is nature to UsageStatsManager but there is no documentation for the APIs of either.

A related question (Programmatically get application usage from Screen Time in iOS 12) suggests FamilyControl but it does not work without enrolling the device as a child device.

Any direction with the two APIs or method for screen time tracking on iOS will be much appreciated.

0 Answers
Related