Disables all background deliveries of update notifications.
- iOS 8.0+
- Mac Catalyst 13.0+
A block that this method calls as soon as the background deliveries are disabled. This block is passed the following parameters:
A Boolean value. This parameter contains
trueif the background deliveries were successfully disabled; otherwise,
An error object. If an error occurred, this object contains information about the error; otherwise, it is set to
Call this method to prevent your app from receiving any additional update notifications while in the background. This method operates asynchronously. As soon as the background deliveries are disabled, this method calls its completion handler on a background queue.