<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreNFC",
  "identifier" : "/documentation/CoreNFC/NFCPresentmentIntentAssertion",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core NFC"
    ],
    "preciseIdentifier" : "s:7CoreNFC29NFCPresentmentIntentAssertionC"
  },
  "title" : "NFCPresentmentIntentAssertion"
}
-->

# NFCPresentmentIntentAssertion

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

```
final class NFCPresentmentIntentAssertion
```

## 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`](/documentation/CoreNFC/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

[`static func acquire() async throws -> NFCPresentmentIntentAssertion`](/documentation/CoreNFC/NFCPresentmentIntentAssertion/acquire())

Acquire a presentment intent assertion instance from the system.

### Testing presentment intention validity

[`var isValid: Bool`](/documentation/CoreNFC/NFCPresentmentIntentAssertion/isValid)

A Boolean property that indicates whether the presentment intent assertion instance is still valid.

[`enum Error`](/documentation/CoreNFC/NFCPresentmentIntentAssertion/Error)

An error type that indicates problems with the presentment intent assertion.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)