Edit

Share via


SKCloudServiceController.RequestAuthorization 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.

Attributes

Applies to