Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CoreNFC session start
override func viewDidLoad() {
super.viewDidLoad()
let reader = NFCNDEFReaderSession.init(delegate: self, queue: nil, invalidateAfterFirstRead: false) //1
reader.begin() //2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment