Forum Archive

How do i use the NFC feature on an iphone?

Yolo_gamer

I am trying to store custom data on a nfc tag that can be read and written to by my phone.
the nfc tags will be used like an amiibo where the user places a character(3d printed),that has a nfc tag ,onto their phone and it will influence the game depending on the character.
if pythonista can read the nfc tag i can have custom chatacters based on what tag was used

Does anyone know how to access the nfc element within pythonista?

Edit:
I have "pip install" the nfc module but when i try to use it an error appears "dlopen(): file not found: libusb-1.0.dylib"

mikael

@Yolo_gamer, according to this you would need a plist entitlement to play with NFC, and Pythonista is unlikely to have it.

ccc

For this use case, you might get a bit further with https://pyto.app than with Pythonista.

Bruno Beat

@ccc Hi there is any code in Python avaible to use with iPhone to read / write a tag ?

Thank you
Greetings Bruno