ios-samples/ios11/NFCTagReader
Rolf Bjarne Kvinge c48c4d648c
Add .editorconfig and fix formatting accordingly. (#471)
The new .editorconfig is copied from the one in xamarin/xamarin-macios.

Formatting was fixed using 'dotnet format whitespace --folder .'
2023-02-17 14:55:43 +01:00
..
NFCTagReader Add .editorconfig and fix formatting accordingly. (#471) 2023-02-17 14:55:43 +01:00
Screenshots [ios11] update NFC readme 2017-09-18 13:11:12 -07:00
Metadata.xml CoreNFC Tag Reader (#183) 2017-09-18 09:10:07 -07:00
NFCTagReader.sln CoreNFC Tag Reader (#183) 2017-09-18 09:10:07 -07:00
README.md remove hashtags ios11 ios12 2019-07-24 18:24:49 -07:00

README.md

name description page_type languages products extensions urlFragment
Xamarin.iOS - NFCTagReader How to integrate Core NFC Framework into your application to enable NFC tag reading. Overview Core NFC provides NFC tag reading (iOS11) sample
csharp
xamarin
tags
ios11
ios11-nfctagreader

NFCTagReader

This sample shows how to integrate Core NFC Framework into your application to enable NFC tag reading.

Sample showing an NFC payload

Overview

Core NFC provides NFC tag reading capabilities to your applications. This sample application will read an NDEF formatted NFC Forum tag (Type 1 to 5) that contains an NDEF message. Clicking on the Scan button will start the tag scanning process. The application will list each NDEF message read from the NFC tag in the main message table view with a single row entry, and the row's label displays the number of NDEF record payloads in the message.

Clicking on a row in the message table will display the payload table view with details on each of the NDEF record stored in the message.

Getting Started

An iPhone 7 or iPhone 7 Plus running iOS 11 is required. The first step is to enable "Near Field Communication Tag Reading" in the project's Capabilities pane to acquire the necessary entitlements. Please visit 'Certificates, Identifiers, and Profiles' in the Apple Developer portal to manually request a provisioning profile if the NFC capability is unavailable in your beta version of Xcode.