How to implement NFC in the iPhone app?

So, I was wondering if anyone knows how I can implement the use of NFC in my application. The result I want to use with NFC is when someone misses an NFC sensor with their phones in their pocket, for example, an action triggers a notification, for example, but I don't know how to add NFC to the app and how NFC necessarily interacts with iOS ... Also, is there any code to implement NFC in Swift or is it only in Objective C for now? Thanks a lot in advance! Thank you very much in advance!

+3


source to share


2 answers


NFC is a very new thing for Apple, just adding the chip to its new 6 and 6 Plus phones. Unfortunately for you, they decided not to add functionality at all to Xcode, and they limited the use of NFC to Apple Pay only. This means that you are trying to code a Bluetooth speaker pairing system or a way to share contacts, URLs and photos with touch ID connection using the touch function. However, Apple may in the future allow development for NFC, as it did with the touch-sensitive sensor in iOS 8. Unfortunately, you won't be able to encode NFC at this time.

Sorry to be the bearer of bad news



Will

+9


source


If you look past NFC, you can get the exact functionality you are looking for with iBeacon.



0


source







All Articles