A reader session for detecting ISO7816, ISO15693, FeliCa, and MIFARE tags.
SDKs
- iOS 13.0+
- Mac Catalyst 13.0+
Framework
- Core NFC
Declaration
class NFCTagReaderSession : NFCReader Session
Overview
Use NFCTagReaderSession to interact with one of the tag types listed in NFCTag
. 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
NFCReader
key in your app’sUsage Description info
file..plist
To interact with ISO 7816 tags, add the list of the application identifiers supported in your app to the com
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 NFCMi
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.
Important
Core NFC doesn't support payment-related Application IDs.