Request a list of unexecuted scheduled task requests.
- iOS 13.0+
- Mac Catalyst 13.0+
- tvOS 13.0+
The completion handler called with the pending tasks. The handler may execute on a background thread.
The handler takes a single parameter
tasks, an array of
BGTaskobjects. The array is empty if there are no scheduled tasks.
The objects passed in the array are copies of the existing requests. Changing the attributes of a request has no effect. To change the attributes submit a new task request using