Core NFC

RSS for tag

Detect NFC tags, read messages that contain NDEF data, and save data to writable tags using Core NFC.

Core NFC Documentation

Posts under Core NFC tag

60 Posts
Sort by:
Post not yet marked as solved
1 Replies
516 Views
I have an NFC door, but I always have to enter a pin, and I have thought, "Can I unlock this using an NFC on my Apple Watch, Apple AirTag, or iPhone, since they all use NFC?" It seems it would save so much time, yet I do not know if there is an app/program that I could use, much less how to program it to trigger. Please reply if you have a response.
Posted Last updated
.
Post not yet marked as solved
0 Replies
353 Views
Did anybody encounter issues while doing an NFC tag reading, particularly on the "Pro" devices? Based on our statistics, almost half of the readings with iPhone 12 Pro failed, due to NFC tag connection issues. Please see below the failure rate: Top 3 devices: iPhone 12 Pro with 41,5% failure rate iPhone 11 Pro Max with 33,3% failure rate iPhone SE 2nd Gen with 25% failure rate If we take into consideration the deviation from expected value, see below: The following types had a higher error value than statistically expected when used significantly: iPhone 14 Pro iPhone 12 Pro iPhone 15 Pro   The following types, on the other hand, had few to no reading errors with statistically relevant use: iPhone 14  iPhone 13 iPhone 13 Pro Max The essential questions are:  What are the differences between the iPhone 14 and iPhone 14 Pro in terms of NFC reading functionality?  What are the differences between the iPhone 11 Pro and iPhone 12 Pro in terms of NFC reading functionality? See list of device codes: here.
Posted Last updated
.
Post not yet marked as solved
0 Replies
357 Views
I'm trying to implement CoreNFC in my iOS project, so I need to add the Near Field Communication Tag Reading to my capabilities, however, I can't find it anywhere. After a bit of research, someone said that they had to enroll in Apple's developer program, is that necessary to unlock this capability? If not, how can I fix it?
Posted Last updated
.
Post not yet marked as solved
0 Replies
417 Views
It's my first time posting here so I don't really know what to do. I'm fairly new to iOS development and I have project that I need to make that uses NFC (CoreNFC). As I encountered errors in my code, I realized I needed to add the NFC capability however it's not showing in the capabilities list. After a bit of research, I found someone saying I needed to have an Apple Developer account (for 99$) to unlock this feature. Is this true? If not, what can I do to add the Near Field Communication Tag Reading capability to my project?
Posted Last updated
.
Post not yet marked as solved
1 Replies
414 Views
Hello, I have ICode Slix and Slix 2 NFC tags. I'm working on an iOS app for reading and writing data to these tags. I've tried various approaches, but I'm having trouble with the writing part. Could you please assist me in understanding how to write encode URL in that tags Here's my current code Because these tag is not bydefault NDEF format and I want to right url in that tag and make it NDEF formattable. I tried to write data with NFC Tool application it can write data easily in that but my code doesn't work. how to right data in NFC forum type 5 tags? func tagReaderSession(_ session: NFCTagReaderSession, didDetect tags: [NFCTag]) { print("Connecting To Tag") if tags.count > 1 { session.alertMessage = "More Than One Tag Detected, Please try again" session.invalidate() return } let tag = tags.first! session.connect(to: tag) { error in if let error = error { session.invalidate(errorMessage: "Connection Failed: \(error.localizedDescription)") return } if case let .iso15693(sTag) = tag { let textToWrite = "hello" if let textData = textToWrite.data(using: .utf8) { sTag.writeSingleBlock(requestFlags: [.highDataRate], blockNumber: 0x05, dataBlock: textData) { error in if let error = error { print("Error writing to NFC tag: \(error.localizedDescription)") } else { print("Data successfully written to NFC tag.") } session.invalidate() } } else { print("Error encoding text to data") session.invalidate() } } } }
Posted Last updated
.
Post not yet marked as solved
0 Replies
364 Views
I bought RFID card: NFC 13.56MHz ISO14443A but Iphone can`t read it. What types of RFID card Iphone can read. Is there any specifictaion what cards Iphone can read?
Posted Last updated
.
Post not yet marked as solved
0 Replies
388 Views
we are using the STMicroelectronics/STNFCSensor tag, the tag configuration is Block Size: 4 Memory size in blocks: 2048 memory size in bytes: 8192 tag type: iso15693 Below i added my code func readSingleBlock(to tag: NFCTag, blockNumber: Int, completion: @escaping (Data) -> Void) { bfprint("NFC_Tag enter extendedReadSingleBlock blockNumber: \(blockNumber)") if case let .iso15693(tagIso15693) = tag { tagIso15693.extendedReadSingleBlock(requestFlags: [.highDataRate], blockNumber: blockNumber) { result in bfprint("NFC_Tag extendedReadSingleBlock \(result)") switch result { case .success(let data): self.retryAttempt = 0 bfprint("NFC_Tag Success tag response:", "\(data), ") completion(data) case .failure(let error): if self.retryAttempt > 5 { bfprint("NFC_Tag failure: \(error) \(error.localizedDescription) ") self.session?.invalidate(errorMessage: error.localizedDescription) } else { self.retryAttempt += 1 bfprint("NFC_Tag failure retryAttempt: \(self.retryAttempt) ") self.retryConnection() } } } } } func retryConnection() { guard let session, let tag = self.tag else { return } session.connect(to: tag) { [weak self] (error) in if let error = error { print("Retry connection error: \(error.localizedDescription)") self?.session?.invalidate(errorMessage: "Retry connection error: \(error.localizedDescription)") return } self?.readNfcTag(tag: tag) } } extendedReadSingleBlock function giving error "NFCError Code=100 “Tag connection lost”
Posted Last updated
.
Post not yet marked as solved
2 Replies
980 Views
I am developing an iOS app in which the device(iPhone) needs to act as an NFC tag using Felica so that an NFC reader could read the information present in this virtual tag (like person details). Currently Suica and Pasmo is being used for contact less payment but we ant to use the same technique but for our IOS app. Is it possible to achieve this ?
Posted Last updated
.
Post not yet marked as solved
12 Replies
26k Views
I'm trying to transfer data from one device to another using NFC. I'm trying to figure out if this is possible, I downloaded apple's sample project about CoreNFC, I was able to read NFC Tags (it wasn't a real NFC Tag, rather it was an NFC Tag emulated with an android device). Can I use my iPhone to emulate an NFC Tag to transfer data to another iPhone or Android device?
Posted Last updated
.
Post not yet marked as solved
0 Replies
297 Views
I am aware of NFC and UWB api which I have already gone through the official document page. We have to create CCC based digital keys so we are going to use UWB, NFC technologies. So Is there any CCC based UWB,NFC api available for development? We are members of the CCC organization. Could you please support us for this.
Posted Last updated
.
Post not yet marked as solved
0 Replies
333 Views
We have to create CCC based digital keys so we are going to use UWB, NFC technologies. So Is there any CCC based UWB,NFC api available for development? We are members of the CCC organization. Could you please support us for this I have gone through UWB NFC document from official apple website.But I want to get idea on CCC based NFC and UWBs.
Posted
by Manonmani.
Last updated
.
Post not yet marked as solved
30 Replies
72k Views
G'day. At my office the doors are locked with an NFC reader. We carry around a little NFC tag on our key chains which will read out a number and this then will open the door if the number matches a number in the database. I am tired of carrying around the tag, people keep loosing it, forgetting it and it would be nice to open the door using a Phone - which we tend to always have on us. So I used a credit card which is NFC enabled to readout the NFC information, added this number to the database and can now open doors using my credit card. This is pretty cool. If I forget my keys (most likely they will be on the desk but silly me left the desk without them), I may have my wallet with me. Then I tried Wallet.app on my iPhone and select the same credit card. However the door doesn't open. When looking in the door software I noticed that the tags will always transmit the same number. So does my credit card. However Wallet.app will read out 4 readings (or maybe just one very long one) and they are always different. So I can not make them match with the door database. Any ideas how to make this work? Can I give somehow wallet.app an NFC number which I can then add to my door database? Or how come the credit card and the very same one in wallet.app don't match? Thanks for your help! Would be neat if I could make this work out. This will make a lot of people happy at my office! Cheers!
Posted
by Walzl.
Last updated
.
Post not yet marked as solved
2 Replies
3.3k Views
Hello everyone, I purchased a level lock touch earlier this year. It’s a lock I have on my front door and side door. One of the ways it can be unlocked is with an NFC card. You can tap the card and the lock opens. Since the apple devices have NFC, and so does the level lock touch, I figured there must be a way to just unlock the door by tapping my devices. I asked apple about this and they said they couldn’t help me. I reached out to Level and they said apple will be selling a new level lock + which on October 21st which does exactly what I’m wanting to do….for $329! my question is, if both devices have NFC- couldn’t there just be some type of software update to allow this feature to happen. Instead- someone has to purchase a whole new lock!? I know it’s all about money but it just doesn’t make sense to me. does anyone maybe know of a third party app that can read the level lock nfc card and allow me to open the lock by tapping my device? In the mean time I’ll keep looking for another way besides shelling out another 329 for a lock. Smh
Posted
by Osorich.
Last updated
.
Post not yet marked as solved
1 Replies
374 Views
my app store application have met this problem most at OS version 16.6 and other OS version when i use [NFCReaderSession featureAvailable:],and Near Field Communication capability is equiped。I have no idea why this would happen。
Posted
by minghui.
Last updated
.
Post not yet marked as solved
56 Replies
46k Views
Dear Community / Apple, I would like to ask in the name of many Smart Home Community, There is any developing / There is any future plan about make Apple Watches able to read NFC Tags / Stickers? Many of us would like to use Apple Watch to use Home Automations with NFC Stickers, but we have to use our iPhone instead of the Watch, what would be the most logical way to use these things. We does not really understand why this was not added by default, and why we cannot find any official information about this? Please provide us some answer, at least we should know should we still wait for this feature or this is not gonna be enabled by Apple?! Thank you very much, Gery
Posted Last updated
.
Post not yet marked as solved
30 Replies
26k Views
I'm very excited about the new AirTag product and am wondering if there will be any new APIs introduced in iOS 14.5+ to allow developers to build apps around them outside the context of the Find My network? The contexts in which I am most excited about using AirTags are: Gaming Health / Fitness-focused apps Accessibility features Musical and other creative interactions within apps I haven't been able to find any mention of APIs. Thanks in advance for any information that is shared here. Alexander
Posted
by alexander.
Last updated
.
Post not yet marked as solved
0 Replies
568 Views
IPhone 14 Pro - ios 17 Beta NFC tag reader no longer functioning as of ios15 update. I have updated to Beta 17 and still not working. Airfrop off, cellular data off and have completed several restarts. Any help with repairing is appreciated. Thank you.
Posted
by dpp3.
Last updated
.
Post not yet marked as solved
0 Replies
466 Views
Hey, I don't know why i can not make scan function work. I have written in the entitlement file: <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>com.apple.developer.nfc.readersession.formats</key> <array> <string>NDEF</string> <string>TAG</string> </array> </dict> </plist> also in the info.plist: <key>com.apple.developer.nfc.readersession.iso7816.select-identifiers</key> <array> <string>A0000002471001</string> <string>D2760000850101</string> <!-- Add more AIDs as needed --> </array> still get the error Error Domain=NFCError Code=2 "Missing required entitlement" of course when i remove the iso18092 enum everything is working. Help? thanks
Posted
by Talkwondo.
Last updated
.
Post not yet marked as solved
1 Replies
1.3k Views
Why is there no public APIs for developers (PassKit) to implement Apple Wallet NFC for employee badges as announced in WWDC 2021 Keynote? Can a simple Apple platforms developer implement this for the organization they are working on and don't have to go to third-party providers which seem to have this capability? Seems that I need to reach out to the below companies to enable this in the current organization I'm working with: third party providers: https://swiftconnect.io/owners/ https://www.hidglobal.com/solutions/access-control/hid-mobile-access-solutions
Posted Last updated
.