Scanning NFC tags using CoreNFC in an iOS app

Introduction I never had a chance to work with NFC (Near Field Communication), but I have always been curious to find out how it works. In this article, I will focus on scanning NFC tags using CoreNFC with NFCNDEFReaderSession. Preparation Before we begin, let’s add the necessary objects: Near Field Communication Tag Reading capability to the project. Privacy - NFC Scan Usage Description key to Info.plist. Near Field Communication Tag Reader Session Formats to the entitlements file....

July 12, 2024 · 2 min · Dmytro Chumakov

Scanning for peripheral devices using BLE in an iOS app

Introduction I had the chance to work on a project where communication via BLE was at the heart of the project. Before adding any code to application, I always asked myself about two scenarios: The first scenario is when the device acts as a central device while searching for and connecting to peripheral devices. The second scenario is when the device acts as a peripheral device by using CBCharacteristic and changes its value....

July 10, 2024 · 3 min · Dmytro Chumakov