What problem does it solve?
Core NFC integration solves the challenge of safely scanning and writing data to NFC tags on iOS devices, including handling different tag types, permissions, and session lifecycles.
Core Features & Use Cases
- NDEF tag reading: Scan NDEF-formatted tags and parse URL/text/MIME/custom records.
- Multi-protocol tag access: Read ISO 7816, ISO 15693, FeliCa, and MIFARE tags via tag reader sessions.
- NDEF writing: Construct NDEF messages and write them only when the tag is confirmed writable.
- Lifecycle-safe sessions: Validate availability, delegate handling, and proper invalidation/error filtering to prevent misleading failures.
- Background tag reading: Support tag-triggered user activity flows for compatible NDEF content.
Quick Start
Start by ensuring your app has the required NFC capability, Info.plist usage string, and com.apple.developer.nfc.readersession.formats entitlement, then use NFCNDEFReaderSession to scan for NDEF messages and parse each record.