CKContainer.DiscoverUserIdentityWithEmailAddress 메서드

정의

지정된 emailCKUserIdentity 사용하여 레코드의 데이터를 검색합니다.

[Foundation.Export("discoverUserIdentityWithEmailAddress:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual void DiscoverUserIdentityWithEmailAddress (string email, Action<CloudKit.CKUserIdentity,Foundation.NSError> completionHandler);
abstract member DiscoverUserIdentityWithEmailAddress : string * Action<CloudKit.CKUserIdentity, Foundation.NSError> -> unit
override this.DiscoverUserIdentityWithEmailAddress : string * Action<CloudKit.CKUserIdentity, Foundation.NSError> -> unit

매개 변수

email
String
completionHandler
Action<CKUserIdentity,NSError>
특성

설명

의 "ID 검색" 메서드를 사용하면 개발자가 앱에서 CKContainer "친구도 사용하는" 기능을 구현할 수 있습니다. 이러한 메서드를 사용하여 CloudKit 컨테이너에서 사용자 주소록의 항목에 해당하는 사용자 레코드를 찾을 수 있습니다. 사용자가 앱을 사용하고 해당 상태를 공유하기로 합의했다는 사실 외에 사용자에 대한 정보는 에서 CKContainer사용할 수 없습니다.

적용 대상