Instance Property

imageData

The profile picture of a contact.

Declaration

var imageData: Data? { get }

Discussion

It is recommended that you fetch this property only when you need to access its value, such as when you need to display the contact’s profile picture.

See Also

Getting Contact Images

var thumbnailImageData: Data?

The thumbnail version of the contact’s profile picture.

var imageDataAvailable: Bool

A Boolean indicating whether a contact has a profile picture.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software