In the part of iOS that uses NFCReader, add a process that prompts the user to retry when an unexpected NFC tag is scanned.
To do so, use NFCTagReaderSession instead of NFCNDEFReaderSession.
NFC tags assume that ISO 14443 (NFC-A) NDEF messages are used.
To determine if the URL contained in the data inside the NFC tag is the intended one, add NFCReader.urlResolver and use it.
Add the ability to enable/disable the scan start button to prevent users from tapping the button again to start scanning while scanning is in progress.
This prevents errors that often occur when using Core NFC on iOS, where system resources become unavailable.
Movie (Optional)
After
In this movie, the intended tag is scanned after two incorrect NFC tags are scanned.
Overview (Required)
NFCReader
, add a process that prompts the user to retry when an unexpected NFC tag is scanned.NFCTagReaderSession
instead ofNFCNDEFReaderSession
.NFCReader.urlResolver
and use it.Movie (Optional)