Asynchronously shows, if necessary, a permissions dialog allowing the user to allow or deny the application access to the photo library.
Syntax
[Foundation.Export("requestAuthorization:")]
public static
void RequestAuthorization ([ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDActionArity1V13))]
Action<PHAuthorizationStatus> handler)
Parameters
- handler
- Action that is called back asynchronously after the user interacts with the permissions dialog.
Remarks
Requirements
Namespace: Photos
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0