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.

Beta
- asNFCISO7816Tag

Returns the tag as an ISO 7816 tag object.

Required.

Beta
- asNFCFeliCaTag

Returns the tag as a FeliCa tag object.

Required.

Beta
- asNFCMiFareTag

Returns the tag as a MiFare tag object.

Required.

Beta
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.

Beta
NFCISO15693Tag

An interface for interacting with an ISO 15693 tag.

NFCFeliCaTag

An interface for interacting with a FeliCa tag.

Beta
NFCMiFareTag

An interface for interacting with a MIFARE tag.

Beta
NFCNDEFTag

An interface for interacting with an NDEF tag.

Beta
NFCTagCommandConfiguration

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software