共用方式為


CKContainer.RequestApplicationPermission 方法

定義

觸發系統 UX,要求使用者對要求 applicationPermission 的許可權。

[Foundation.Export("requestApplicationPermission:completionHandler:")]
public virtual void RequestApplicationPermission (CloudKit.CKApplicationPermissions applicationPermission, Action<CloudKit.CKApplicationPermissionStatus,Foundation.NSError> completionHandler);
abstract member RequestApplicationPermission : CloudKit.CKApplicationPermissions * Action<CloudKit.CKApplicationPermissionStatus, Foundation.NSError> -> unit
override this.RequestApplicationPermission : CloudKit.CKApplicationPermissions * Action<CloudKit.CKApplicationPermissionStatus, Foundation.NSError> -> unit

參數

applicationPermission
CKApplicationPermissions
屬性

適用於