NFCISO7816Tag
An interface for interacting with an ISO 7816 tag.
Declaration
protocol NFCISO7816Tag : NFCNDEFTag, __NFCTagOverview
The NFCTagReaderSessionDelegate receives an object that conforms to the NFCISO7816Tag protocol when the NFCTagReaderSession detects an ISO 7816-compatible tag. For the delegate to receive the tag object, your app must include:
The Near Field Communication Tag Reader Session Formats Entitlement.
A list of supported application identifiers in the ISO7816 application identifiers for NFC Tag Reader Session_ _information property list key.
When the session discovers a compatible ISO 7816 tag, the session performs a SELECT command for each application identifier provided in ISO7816 application identifiers for NFC Tag Reader Session. The SELECT command searches for the identifiers in the order in which they appear in the array. The session calls the tagReaderSession:didDetectTags: delegate method after the first successful SELECT command. The initialSelectedAID property of the found tag contains the selected identifier.
For the reader session to read and write data to the tag, it must be available to the reader session. Use the isAvailable property to check the tag’s availability.
Topics
Specifying Application Identifiers
Getting Tag Information
Sending a Command
sendCommand(apdu:resultHandler:)sendCommand(apdu:completionHandler:)NFCISO7816APDUNFCISO7816ResponseAPDU