Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 413 Bytes

README.md

File metadata and controls

13 lines (12 loc) · 413 Bytes

SwiftUI NFC

A dead simple SwiftUI NFC library

.nfcReader(isPresented: $isReaderPresented) { messages in
    //
    return "Successfully scanned badge" // This text will appear briefly on the NFC reader layer
} onFailure: { error in
    // Optional error handle
    print(error.localizedDescription)
    return "Error when scanning badge" // This text will appear briefly on the NFC reader layer
}