NFC iOS: Open app directly with out tapping on NFC Notification

I want to have NFC Tag information on my UIViewController with out user interaction - tapping on iOS System NFC Notification or default NFC Read Panel. Please read below.


A notification appears when I read NFC tag whether the intended app is in foreground or background.

I wrote URL schemed URI onto my NFC tags "

myappurl://...
".

So, when I tap on the notification after scanning NFC tag, my app opens and take necessary actions as per payload on the deeplink URI.


But, when my app is in the foreground, still notification appears after reading NFC tag. And, I have to tap on the notification so that an action can be taken on the app.


Can I just directly read the NFC tag while I have app in foreground (or my particular UIViewController is current) with out default NFC Read panel and notification?


Below, the red one is my UIViewController and the app is in foreground. And, the app associated with that is already found as shown on the right side of the notification. Why can't I just open directly the app as iOS already knows what app is associated.

(If you unable to see the picture: Please visit this link: https://i.stack.imgur.com/mWJ8A.png


Or, if I initiate automatic scanning... thn this screen appears: https://9to5mac.com/wp-content/uploads/sites/6/2018/05/screen-shot-2018-05-26-at-01-01-54.jpg?quality=82&strip=all&w=1600.



  • Hi Chandra, wondering if your able to process without notification appears after reading NFC tag.

Add a Comment