Post

Replies

Boosts

Views

Activity

DeviceActivityCenter stops monitoring if another DeviceActivitySchedule starts monitoring during the same schedule
I'm making an app that allows you to set multiple schedules to limit the app, but the schedule with an early start time stops working when the schedule's time overlaps with other schedules. DeviceActivityName.daily.rawValue = name try center.startMonitoring(.daily, during: schedule) Even if DeviceActivityName is set to a dynamic value as shown above and changed, is it not possible to monitor multiple devices with DeviceActivityCenter?
0
0
599
May ’23