Upravit

Sdílet prostřednictvím


CPApplicationDelegate.UserDidAcceptCloudKitShare Method

Definition

The system calls this method shortly after the user grants access to shared CloudKit information.

[Foundation.Export("application:userDidAcceptCloudKitShareWithMetadata:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void UserDidAcceptCloudKitShare (UIKit.UIApplication application, CloudKit.CKShareMetadata cloudKitShareMetadata);
abstract member UserDidAcceptCloudKitShare : UIKit.UIApplication * CloudKit.CKShareMetadata -> unit
override this.UserDidAcceptCloudKitShare : UIKit.UIApplication * CloudKit.CKShareMetadata -> unit

Parameters

application
UIApplication

Reference to the UIApplication that invoked this delegate method.

cloudKitShareMetadata
CKShareMetadata

Metadata that desribes the shared metadata for which the app has access permission.

Attributes

Applies to