Contents

PHCloudIdentifierMapping

An object that contains the cloud identifier result from looking up a local identifier, or an error indicating why the lookup failed.

Declaration

@interface PHCloudIdentifierMapping : NSObject

Overview

The error property exhibits two common errors—PHPhotosError.Code.identifierNotFound and PHPhotosError.Code.multipleIdentifiersFound. When encountering multiple identifiers, use the error’s userInfo property to retrieve a list of matched local identifiers. You can access them using PHLocalIdentifiersErrorKey.

Topics

Getting the Cloud Identifier

Getting the Lookup Error Reason

See Also

Converting Between Local and iCloud Identifiers