An interface for interacting with an ISO 7816 tag.
- iOS 13.0+
- Mac Catalyst 13.0+
- Core NFC
NFCTag receives an object that conforms to the
NFCISO7816Tag protocol when the
NFCTag detects an ISO 7816-compatible tag. For the delegate to receive the tag object, your app must include:
A list of supported application identifiers in the
cominformation property list key.
.apple .developer .nfc .readersession .iso7816 .select-identifiers
When the session discovers a compatible ISO 7816 tag, the session performs a
SELECT command for each application identifier provided in
SELECT command searches for the identifiers in the order in which they appear in the array. The session calls the
tag delegate method after the first successful
SELECT command. The
initial property of the found tag has 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
is property to check the tag’s availability.