<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AddressBook",
  "identifier" : "/documentation/AddressBook/ABBeginLoadingImageDataForClient(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Address Book"
    ],
    "preciseIdentifier" : "c:@F@ABBeginLoadingImageDataForClient"
  },
  "title" : "ABBeginLoadingImageDataForClient(_:_:_:)"
}
-->

# ABBeginLoadingImageDataForClient(_:_:_:)

Starts an asynchronous fetch for image data in all locations, and returns a non-zero tag for tracking.

```
func ABBeginLoadingImageDataForClient(_ person: ABPersonRef!, _ callback: ABImageClientCallback!, _ refcon: UnsafeMutableRawPointer!) -> CFIndex
```

## Parameters

`person`

The person whose image data you wish to fetch.

`callback`

The function to call when the fetch is completed.

`refcon`

An untyped pointer to program-defined data that will be passed to the callback.

## Return Value

A non-zero tag for tracking

## Discussion

Use this function to begin an asynchronous fetch. Implement your callback function to receive the fetched image. Use the [`ABCancelLoadingImageDataForTag(_:)`](/documentation/AddressBook/ABCancelLoadingImageDataForTag(_:)) function to cancel an asynchronous fetch.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)