Bewerken

Delen via


UIImage.SaveToPhotosAlbum(UIImage+SaveStatus) Method

Definition

Saves the specified image into the Photos Album.

public void SaveToPhotosAlbum (UIKit.UIImage.SaveStatus status);
member this.SaveToPhotosAlbum : UIKit.UIImage.SaveStatus -> unit

Parameters

status
UIImage.SaveStatus

If not-null, a method to invoke when the file has been saved to the Camera Album.

Remarks

On systems without a camera, the Camera Album is the Saved Photos album instead. This can not be changed.

If a non-null value was specified for status then the method is invoked on completion with both the image reference and an if there was an error, a non-null instance of NSError.

This method requires the developer to request, and the user to grant, access to the Photos album. (See Accessing Private User Data.)

This method should only be invoked on the main thread (see InvokeOnMainThread(Selector, NSObject)).

Applies to