Asynchronously runs a block that requests changes to be performed in the photo library.
- iOS 8+
- macOS 10.13+
- UIKit for Mac 13.0+Beta
- tvOS 10+
A block that requests changes to be performed.
This block takes no parameters and has no return value.
A block that Photos calls after the change block completes and Photos performs the requested changes.
The block takes the following parameters:
YESif Photos successfully applied the changes requested in the block; otherwise,
If an error occurs, an
NSErrorobject describing the error; otherwise,
Photos executes both the change block and the completion handler block on an arbitrary serial queue. To update your app’s UI as a result of a change, dispatch that work to the main queue.