CoreNFC for card emulation?

冷暖自知 提交于 2019-12-01 00:32:17

问题


CoreNFC is introduced in iOS 11 SDK. can CoreNFC be used for Smart Card emulation on iOS? Apple Documentation of CoreNFC


回答1:


For Smart Card Emulation we need to send card's data (like PAN, CVV2, ...) through NFC module. According to Apple's Documentation CoreNFC only allows NFC module to read Near Field Communication (NFC) tags of types 1 through 5 that contain data in the NFC Data Exchange Format (NDEF).

So it seems the answer is NO at the moment.

Your app can read tags to give users more information about their physical environment and the real-world objects in it. For example, your app might give users information about products they find in a store or exhibits they visit in a museum.

Using Core NFC, you can read Near Field Communication (NFC) tags of types 1 through 5 that contain data in the NFC Data Exchange Format (NDEF). To read a tag, your app creates an NFC NDEF reader session and provides a delegate. A running reader session polls for NFC tags and calls the delegate when it finds tags that contain NDEF messages, passing the messages to the delegate. The delegate can read the messages and handle conditions that can cause a session to become invalid.

Apple's CoreNFC Documentation



来源:https://stackoverflow.com/questions/44385724/corenfc-for-card-emulation

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