Detect NFC tags, read messages that contain NDEF data, and save data to writable tags.
- iOS 11.0+
- Mac Catalyst 13.0+
Your app can read tags to give users more information about their physical environment and the real-world objects in it. 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). For example, your app might give users information about products they find in a store or exhibits they visit in a museum.
Your app can also write data to tags, and interact with protocol specific tag such as ISO 7816, ISO 15693, FeliCa™, and MIFARE® tags.
Core NFC is not available for use in app extensions, and it requires a device that supports Near Field Communication. To determine if support is available, check the
reading class property before starting a reader session.