---
title: cancelRead()
framework: proximityreader
role: symbol
role_heading: Instance Method
path: proximityreader/paymentcardreadersession/cancelread()
---

# cancelRead()

Dismiss the sheet that prompts someone to present their card for reading.

## Declaration

```swift
func cancelRead() async throws -> Bool
```

## Discussion

Discussion You can cancel a read operation before the device detects the card and starts reading it, but not after. Once the device begins reading the card, you cannot dismiss the sheet. The reader supports only one read operation at a time. This method affects only the currently active read operation.
