What’s New in Core NFC

WWDC 2018

Posted by Den on September 30, 2018 · 3 mins read
What’s New in Core NFC

What’s New in Core NFC

Tech Talks

What’s New in Core NFC

Tech Talks

NFC Tag Requirements

How it works

  • Scan for compatible NDEF message NFC tag
  • Generates Notifications
  • App receives NSUserActivity via UIAppliacationDelegate

Availability

  • iPhone XS, iPhone XS Max, and iPhone XR
  • Any time screen is on, except:
    - Device has never been unlocked
    - Core NFC reader session active
    - Apple Pay Wallet in use
    - Video camera in use
    - Airplane mode enabled

Handling NFC tag delivery in your app

  • Step 1 — Register Associated Domains in Capabilities
  • Step 2 — Adopt application(_:continue:restorationHandler:) in UIApplicationDelegate protocol
  • Step 3 — Access ndefMessagePayload property of NSUserAcitivity

Default URL schemes