Core NFC How to detect if the phone has NFC

I only want to show the NFC scanning button if the phone has NFC (iPhone 7 and up). How can I detect if the device has NFC?

I'm not sure it's that simple, unless NFC is added as a device compatibility plist flag later*, perhaps.


Right now, NFC is supported on the iPhone 7 & 7+ as you note, Core NFC is still beta, and it appears you would add support to your app via provisioning, where the store would indicate which devices are compatible, and presumably restrict download?


See https://developer.apple.com/documentation/corenfc



*Table 6 https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW3

Core NFC How to detect if the phone has NFC
 
 
Q