---
title: isCancelled
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avassetresourceloadingrequest/iscancelled
---

# isCancelled

A Boolean value that indicates whether the request has been cancelled.

## Declaration

```swift
var isCancelled: Bool { get }
```

## Discussion

Discussion true when the resource loader cancels the loading of a request, just prior to sending the message resourceLoader(_:didCancel:) to the delegate.

## See Also

### Reporting the result of the request

- [response](avfoundation/avassetresourceloadingrequest/response.md)
- [finishLoading()](avfoundation/avassetresourceloadingrequest/finishloading().md)
- [finishLoading(with:)](avfoundation/avassetresourceloadingrequest/finishloading(with:).md)
- [isFinished](avfoundation/avassetresourceloadingrequest/isfinished.md)
- [finishLoading(with:data:redirect:)](avfoundation/avassetresourceloadingrequest/finishloading(with:data:redirect:).md)
