Protocol

NFCTag

An interface for interacting with an NFC or RFID tag.

Declaration

@protocol NFCTag

Overview

When an NFC reader session detects a tag, it returns an object that conforms to this protocol.

Topics

Getting Information About a Tag

available

A Boolean value that indicates whether a detected tag is available.

Required.

session

The reader session that provides the tag.

Required.

Getting the Tag Type

type

The tag type.

Required.

- asNFCISO15693Tag

Returns the tag as an ISO 15693 tag object.

Required.

- asNFCISO7816Tag

Returns the tag as an ISO 7816 tag object.

Required.

- asNFCFeliCaTag

Returns the tag as a FeliCa tag object.

Required.

- asNFCMiFareTag

Returns the tag as a MIFARE tag object.

Required.

NFCTagType

Constants that identify the type of an NFC tag.

See Also

Tag Types

Creating NFC Tags from Your iPhone

Save data to tags, and interact with them using native tag protocols.

NFCISO7816Tag

An interface for interacting with an ISO 7816 tag.

NFCISO15693Tag

An interface for interacting with an ISO 15693 tag.

NFCFeliCaTag

An interface for interacting with a FeliCa™ tag.

NFCMiFareTag

An interface for interacting with a MIFARE® tag.

NFCNDEFTag

An interface for interacting with an NDEF tag.

NFCTagCommandConfiguration

A set of parameters you use to define the configuration of an NFC tag command.