Replaces the image data in the receiver with given image data
- iOS 5.0–9.0Deprecated
Image data for the asset.
Metadata for the image.
The block invoked after the save operation completes.
If the application is able to edit the asset, the completion block returns the same asset URL as the receiver, because a new asset is not created.
If the application is not able to edit the asset, the completion blocks return a
nilasset URL and an
Library Write Failed Error
Before invoking this method, you should check the
is property of the asset to determine whether it is possible to replace the image data.