Class

NFCNDEFReaderSession

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

Declaration

class NFCNDEFReaderSession : NFCReaderSession

Overview

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.

Topics

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.

Beta

Restarting the Polling Sequence

func restartPolling()

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

Beta

Relationships

Inherits From

Conforms To

See Also

Reader Sessions

class NFCTagReaderSession

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

Beta
class NFCVASReaderSession

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

Beta
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.

Key: com.apple.developer.nfc.readersession.formats

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