<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreNFC",
  "identifier" : "/documentation/CoreNFC/NFCNDEFTag/queryNDEFStatus(completionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Core NFC"
    ],
    "preciseIdentifier" : "c:objc(pl)NFCNDEFTag(im)queryNDEFStatusWithCompletionHandler:"
  },
  "title" : "queryNDEFStatus(completionHandler:)"
}
-->

# queryNDEFStatus(completionHandler:)

Asks the reader session for the NDEF support status of the tag.

```
func queryNDEFStatus(completionHandler: @escaping @Sendable (NFCNDEFStatus, Int, (any Error)?) -> Void)
```

```
func queryNDEFStatus() async throws -> (NFCNDEFStatus, Int)
```

## Parameters

`completionHandler`

The handler invoked by the reader session that provides the NDEF support status. The handler has the following parameters:

- status: The [`NFCNDEFStatus`](/documentation/CoreNFC/NFCNDEFStatus) of the tag.
- capacity: Indicates the maximum NDEF message size, in bytes, that you can store on the tag.
- error: An <doc://com.apple.documentation/documentation/Foundation/NSError> object if the query fails; otherwise, `nil`.

    The session calls     `completionHandler`     on the dispatch queue provided when creating the [`NFCNDEFReaderSession`](/documentation/CoreNFC/NFCNDEFReaderSession)    .

---

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)