SKCloudServiceController.RequestAuthorization(Action<SKCloudServiceAuthorizationStatus>) SKCloudServiceController.RequestAuthorization(Action<SKCloudServiceAuthorizationStatus>) Method

Definition

Requests permission from the user to access the device's music library.

[Foundation.Export("requestAuthorization:")]
public static void RequestAuthorization (Action<StoreKit.SKCloudServiceAuthorizationStatus> handler);
static member RequestAuthorization : Action<StoreKit.SKCloudServiceAuthorizationStatus> -> unit

Parameters

handler
Action<SKCloudServiceAuthorizationStatus>

A method that is run when the user approves or denies the request.

Applies to