Protocol

NFCNDEFReaderSessionDelegate

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

Declaration

protocol NFCNDEFReaderSessionDelegate

Topics

Handling Session Activation

func readerSessionDidBecomeActive(NFCNDEFReaderSession)

Tells the delegate that the reader session is active.

Beta

Finding NDEF Messages and Tags

func readerSession(NFCNDEFReaderSession, didDetectNDEFs: [NFCNDEFMessage])

Tells the delegate that the session detected NFC tags with NDEF messages.

Required.

func readerSession(NFCNDEFReaderSession, didDetect: [NFCNDEFTag])

Tells the delegate that the session detected NFC tags with NDEF messages and enables read-write capability for the session.

Beta

Handling an Invalidated Session

func readerSession(NFCNDEFReaderSession, didInvalidateWithError: Error)

Tells the delegate the reason for invalidating a reader session.

Required.

Relationships

Inherits From

See Also

Creating a Session

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