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
属性

适用于