Sends an application protocol data unit (APDU) to the tag and receives a response APDU.
- iOS 13.0+
- Mac Catalyst 13.0+
- Core NFC
An application protocol data unit to send to the tag.
A handler that the reader session invokes after the operation completes. The handler has the following parameters:
The response data, which may be empty even if the operation completes successfully.
The SW1 command-processing status byte. This value is always valid.
The SW2 command-processing status byte. This value is always valid.
nilwhen the operation completes successfully; otherwise, an
NSErrorobject when there's a communication issue with the tag.
The session calls
completionon the dispatch queue that you provided when creating the