Device Activity Monitor in iOS doesn't work correctly – Ios swift
I have faced a problem with Screen Time API in iOS. I have successfully authorised using AuthorizationCenter.shared.requestAuthorization, I have checked status using AuthorizationCenter.shared.authorizationStatus, but the problem is with DeviceActivityCenter. In my ViewModel I have a function, that I'm calling after…