Created
June 8, 2017 08:45
-
-
Save ennioma/e4e0bcb457ea30ba4eb6a032dbf89846 to your computer and use it in GitHub Desktop.
CoreNFC session start
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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