Contents

ABPersonCopyImageData(_:)

Returns data that contains a picture of a person.

Declaration

func ABPersonCopyImageData(_ person: ABRecord!) -> Unmanaged<CFData>!
func ABPersonCopyImageData(_ person: ABPersonRef!) -> Unmanaged<CFData>!

Parameters

  • person:

    The person whose image you wish to obtain.

Return Value

The data representing an image of person. You are responsible for releasing this object.

Discussion

The returned data is in a QuickTime-compatible format. To create an image from it, use the NSImage method init(data:).

See Also

People