Synchronously runs a block that requests changes to be performed in the photo library.
Mac Catalyst 13.0+Beta
A block that requests changes to be performed.
This block takes no parameters and has no return value.
If an error occurs, this pointer is set to an NSError object describing the error. If you do not want error information, pass in nil.
true if Photos successfully applied the changes requested in the block; otherwise, false.
Do not call this method from the main thread. Your change block, and the work that Photos performs on your behalf to apply the changes it requests, take some time to execute. (Photos may need to prompt the user to perform changes, so this method can block execution indefinitely.) Use this method if you are already performing work on a background queue that results in a change to be applied to the Photos library. To request changes from the main queue, use the performChanges(_:completionHandler:) method instead.
A read-only proxy representing a Photos asset or collection object yet to be created by a change request.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.