NFC - tagReaderSession - didInvalidateWithError latency

Good day,

I would appreciate clarification on something.

I've got, say, a very simple Obj-C app with one "Scan card" button. If the user pushes the button, "beginSession" is called, followed by "tagReaderSessionDidBecomeActive".

Now the user presses the "Cancel" button on the NFCCore popup showing up while detecting cards. This will eventually fire a call to "tagReaderSession - didInvalidateWithError". But I find it very slow to come (approximately 1 sec or so), which give plenty of time to the user to push the "Scan card" button again.

If he does so a new call to "beginSession" will be made just before the "didInvalidateWithError" comes up, leading to a very broken scenario...

Am I doing something wrong? If not any idea how to workaround that?

Cheers,
Alex

NFC - tagReaderSession - didInvalidateWithError latency
 
 
Q