---
title: NFCPresentmentIntentAssertion
framework: corenfc
role: symbol
role_heading: Class
path: corenfc/nfcpresentmentintentassertion
---

# NFCPresentmentIntentAssertion

An object that signals your app’s intention to make exclusive use of the device’s contactless features.

## Declaration

```swift
final class NFCPresentmentIntentAssertion
```

## Overview

Overview Acquire an instance of this class to prevent the system default contactless app from launching in response to a user gesture or NFC reader RF field. You do this when the person using your app expresses an active intent to perform an NFC transaction, like choosing a credential such as a payment card or transit pass. You can only acquire a NFCPresentmentIntentAssertion when your app is in the foreground state. note: A presentment intent assertion isn’t required before launching the presentment sheet. The presentment intent assertion expires if any of the following occur: The presentment intent assertion object deinitializes. Your app goes into the background. 15 seconds elapse. After the presentment intent assertion expires, you must wait through a 15-second cool-down period before you can acquire a new instance.

## Topics

### Acquiring a presentment intention instance

- [acquire()](corenfc/nfcpresentmentintentassertion/acquire().md)

### Testing presentment intention validity

- [isValid](corenfc/nfcpresentmentintentassertion/isvalid.md)
- [NFCPresentmentIntentAssertion.Error](corenfc/nfcpresentmentintentassertion/error.md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Card sessions

- [CardSession](corenfc/cardsession.md)
