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

# acquire()

Acquire a presentment intent assertion instance from the system.

```
static func acquire() async throws -> NFCPresentmentIntentAssertion
```

## Return Value

A presentment intent assertion instance you use to prevent the default contactless app from launching.

## Discussion

The returned object remains valid until any of the following occur:

- Your app goes into the background.
- The maximum presentment intent assertion duration expires.
- The object deinitializes.

If the system can’t create a presentment intent assertion object, this method throws an error of type [`NFCPresentmentIntentAssertion.Error`](/documentation/CoreNFC/NFCPresentmentIntentAssertion/Error).

> Warning:
> Check to see if the device is capable of using NFC with the ``doc://com.apple.corenfc/documentation/CoreNFC/NFCReaderSession-swift.class`` class property ``doc://com.apple.corenfc/documentation/CoreNFC/NFCReaderSession-swift.class/readingAvailable``. Attempting to acquire a presentment intent assertion on a device that can’t use NFC raises <doc://com.apple.documentation/documentation/Swift/fatalError(_:file:line:)>.

---

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)