Skip to content
treastrain edited this page May 15, 2021 · 2 revisions

NFCTag

An object that represents an NFC tag object.

public enum NFCTag 

Initializers

init(from:)

os(iOS) && !targetEnvironment(macCatalyst)
@available(iOS 13.0, *)
    public init(from coreNFCInstance: CoreNFC.NFCTag) 

Enumeration Cases

feliCa

FeliCa tag.

case feliCa(FeliCaTag)

iso7816

ISO14443-4 type A / B tag with ISO7816 communication.

case iso7816

iso15693

ISO15693 tag.

case iso15693

miFare

MiFare technology tag (MIFARE Plus, UltraLight, DESFire) base on ISO14443.

case miFare

Properties

isAvailable

Check whether a detected tag is available. Returns true if tag is available in the current reader session. A tag remove from the RF field will become unavailable. Tag in disconnected state will return false.

public var isAvailable: Bool 
Clone this wiki locally