NFCTagReaderSession
A reader session for detecting ISO7816, ISO15693, FeliCa, and MIFARE tags.
Declaration
class NFCTagReaderSessionOverview
Use NFCTagReaderSession to interact with one of the tag types listed in NFCTagType. To use this reader session, you must:
Include the Near Field Communication Tag Reader Session Formats Entitlement in your app.
Provide a non-empty string for the NFCReaderUsageDescription key in your app’s information property list file.
To interact with ISO 7816 tags, add the list of the application identifiers supported in your app to the ISO7816 application identifiers for NFC Tag Reader Session information property list key. If you include the application identifier D2760000850101—the identifier for the NDEF application on MIFARE DESFire tags (NFC Forum T4T tag platform)—and the reader session finds a tag matching this identifier, it sends the delegate an NFCISO7816Tag tag object. To get the MIFARE DESFire tag as an NFCMiFareTag object, don’t include D2760000850101 in the application identifier list.
Only one reader session of any type can be active in the system at a time. The system puts additional sessions in a queue and processes them in first-in, first-out (FIFO) order.