<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AddressBook",
  "identifier" : "/documentation/AddressBook/ABPerson/cancelLoadingImageData(forTag:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Address Book",
      "AddressBook"
    ],
    "preciseIdentifier" : "c:objc(cs)ABPerson(cm)cancelLoadingImageDataForTag:"
  },
  "title" : "cancelLoadingImageData(forTag:)"
}
-->

# cancelLoadingImageData(forTag:)

Cancels an asynchronous fetch of the images for a given tag.

```
class func cancelLoadingImageData(forTag tag: Int)
```

## Parameters

`tag`

The tag of the asynchronous fetch to be canceled.

## Discussion

The tag is returned from the previous call to the [`beginLoadingImageData(for:)`](/documentation/AddressBook/ABPerson/beginLoadingImageData(for:)) method that started the 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)