Protocol

NFCNDEFTag

An interface for interacting with an NDEF tag.

Declaration

@protocol NFCNDEFTag

Topics

Getting the Tag Status

available

A Boolean value that determines whether the NDEF tag is available in the current reader session.

Required.

- queryNDEFStatusWithCompletionHandler:

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

Required.

NFCNDEFStatus

Constants that indicate status for an NDEF tag.

Reading the Tag

- readNDEFWithCompletionHandler:

Retrieves an NDEF message from the tag.

Required.

Writing to the Tag

- writeNDEF:completionHandler:

Saves an NDEF message to a writable tag.

Required.

- writeLockWithCompletionHandler:

Changes the NDEF tag status to read-only, preventing future write operations.

Required.

See Also

Tag Types

Creating NFC Tags from Your iPhone

Save data to tags, and interact with them using native tag protocols.

NFCISO7816Tag

An interface for interacting with an ISO 7816 tag.

NFCISO15693Tag

An interface for interacting with an ISO 15693 tag.

NFCFeliCaTag

An interface for interacting with a FeliCa™ tag.

NFCMiFareTag

An interface for interacting with a MIFARE® tag.

NFCTag

An interface for interacting with an NFC or RFID tag.

NFCTagCommandConfiguration

A set of parameters you use to define the configuration of an NFC tag command.