---
title: "cancelLoadingImageData(forTag:)"
framework: addressbook
role: symbol
role_heading: Type Method
path: "addressbook/abperson/cancelloadingimagedata(fortag:)"
---

# cancelLoadingImageData(forTag:)

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

## Declaration

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

## Parameters

- `tag`: The tag of the asynchronous fetch to be canceled.

## Discussion

Discussion The tag is returned from the previous call to the beginLoadingImageData(for:) method that started the asynchronous fetch.

## See Also

### Managing Images

- [beginLoadingImageData(for:)](addressbook/abperson/beginloadingimagedata(for:).md)
- [imageData()](addressbook/abperson/imagedata().md)
- [setImageData(_:)](addressbook/abperson/setimagedata(_:).md)
