共用方式為


MPMediaLibrary.RequestAuthorization 方法

定義

[Foundation.Export("requestAuthorization:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 3, ObjCRuntime.PlatformArchitecture.All, null)]
public static void RequestAuthorization (Action<MediaPlayer.MPMediaLibraryAuthorizationStatus> handler);
static member RequestAuthorization : Action<MediaPlayer.MPMediaLibraryAuthorizationStatus> -> unit

參數

屬性

適用於