A reader session for detecting NFC Data Exchange Format (NDEF) tags.


class NFCNDEFReaderSession : NFCReaderSession


As with the NFCReaderSession base class, only one NFC NDEF reader session can be active in the system at a time. If you create an additional session, the system puts it in a queue and processes it in first-in, first-out (FIFO) order.


Creating a Session

protocol NFCNDEFReaderSessionDelegate

A protocol that an object implements to serve as an NDEF reader session delegate.

Connecting to a Tag

func connect(to: NFCNDEFTag, completionHandler: (Error?) -> Void)

Connects the reader session to a tag and activates that tag.


Restarting the Polling Sequence

func restartPolling()

Restarts the polling sequence so the reader session can discover new tags.



Inherits From

Conforms To

See Also

Reader Sessions

class NFCTagReaderSession

A reader session for detecting ISO7816, ISO15693, FeliCa, and MIFARE tags.

class NFCVASReaderSession

A reader session for processing Value Added Service (VAS) tags.

class NFCReaderSession

The abstract base class that represents a reader session for detecting NFC tags.

protocol NFCReaderSessionProtocol

A general interface for interacting with a reader session.

Near Field Communication Tag Reader Session Formats Entitlement

The Near Field Communication data formats the app is allowed to read.


Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software