Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
CoreNFC readerSession
func readerSession(_ session: NFCNDEFReaderSession, didDetectNDEFs messages: [NFCNDEFMessage]) {
for message in messages {
for record in message.records {
print("Record Type Id \(record.typeNameFormat)")
print("Record Type \(record.type)")
print("Record Payload \(record.payload)")
print("Record Identifier \(record.identifier)")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment