---
title: "ABCancelLoadingImageDataForTag(_:)"
framework: Address Book
role: symbol
role_heading: Function
path: "addressbook/abcancelloadingimagedatafortag(_:)"
---

# ABCancelLoadingImageDataForTag(_:)

Cancels an asynchronous fetch of an image for the given tag.

## Declaration

```swift
func ABCancelLoadingImageDataForTag(_ tag: CFIndex)
```

## Parameters

- `tag`: Used to track an asynchronous fetch. This parameter should have been returned from a previous call to the doc://com.apple.addressbook/documentation/AddressBook/ABBeginLoadingImageDataForClient(_:_:_:) function.

## Discussion

Discussion Use the ABBeginLoadingImageDataForClient(_:_:_:) function to begin an asynchronous fetch. Implement your callback function to receive the fetched image. Use this function to cancel an asynchronous fetch.

## See Also

### Images

- [ABBeginLoadingImageDataForClient(_:_:_:)](addressbook/abbeginloadingimagedataforclient(_:_:_:).md)
