Is it possible to use iOS screentime API to track usage of a single app?
I’m interested in investigating how the ability to set time restrictions on apps or block them for a set amount of time changes users’ app usage. Is it possible to track the usage of a specific app using iOS screentime API? It has the capability to track usage of categories of apps (social, games, tools, etc) but I want the ability to track just one app’s usage. I know the functionality I’m looking for is at least partially possible on Android, but I would like to develop for iOS as well. Thanks!
Why is this simple swift nested for loop is so slow
I have a very basic nested for loop iterates over a 30K long string. This loop at most must take 2-3 miliseconds but it takes 10 seconds on my iphone. This is an inexplicable time for a smart phone. Why could this be happening? Here is the code.