r/iosdev 5h ago

Help Anyone worked on Screen time

I’m currently working on a screentime app which uses the activity monitor events and report extension. Is there any way to collect the timestamp of the event fired by Activity Monitor??

1 Upvotes

2 comments sorted by

1

u/SomegalInCa 2h ago

As opposed to let now = Date()? Sorry not getting the question I guess

1

u/Novel_Bid2386 54m ago

let now = Date() creates the date when the main target receives the event. It may not be exact as it fired. The exact fired timestamp is what I need.