Device support for Core NFC? does it work on iPad?

…衆ロ難τιáo~ 提交于 2021-02-04 17:53:05

问题


Does Core NFC works on iPad?

To sum up, iPad does have NFC chips, but the Core NFC documentation does not say it support it.

Note

Reading NFC NDEF tags is supported on iPhone 7 and iPhone 7 Plus.

running this iOS11-NFC-Example on emulator will always get Feature not supported on all devices.


回答1:


No ! for now Core NFC don't support iPads and iPhone lesser than iPhone 7.

iPhone Series of 7, 8 and iPhone X only supported by Core NFC. and if you want to identify in your code that the device your app is running on supports Core NFC or not can be done by this

if (NFCNDEFReaderSession.readingAvailable)

   {
        NSLog(@"NFC is Available");
}
else
{
 NSLog(@"NFC is not Available");
}



回答2:


As in WWDC 2017

Apple doc

NFC tag reading is available for iPhone 7 & iPhone 7 plus. May be in future release they make them available.



来源:https://stackoverflow.com/questions/46673580/device-support-for-core-nfc-does-it-work-on-ipad

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!