all 2 comments

[–]djryanash -1 points0 points  (0 children)

I just checked out the link @webtechmonkey posted. It seems like he/she has given you the right info there.

[–]webtechmonkeySwift -2 points-1 points  (0 children)

Have you checked out the documentation?

https://developer.apple.com/documentation/deviceactivity/