You can try to calculate it youself using this and translating it to Swift, but it may lead to a rejection from the App Store.
– saagarjha
Do you want to check how long it has been unlocked as total or unlocked since the user has used your application?
– Rashwan L
1 Answers
3
votes
Is there a way to monitor how long a phone has been unlocked for during a day
No, because this would require that your app actually be running at unlock time, and of course you can't possibly guarantee that.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more