Posts

Post not yet marked as solved
3 Replies
0 Views
No, you are right. You don't need XCode Beta 13 to use the Nearby Interaction framework.
Post marked as solved
1 Replies
0 Views
Bringing some updates to my own post. I got in touch with an engineer at Apple via Technical Support. It's apparently possible to connect to more than one UWB source at a time, by creating one NISession per discovery token. According to this engineer, at the moment an iPhone 12 Pro like the one I use, should be able to handle around three connections at the same time, but there is no limitation and that number might increase in the future alongside hardware improvements.
Post not yet marked as solved
3 Replies
0 Views
There is no API to use Airtags or Homepods at the moment. Not sure there will ever be. Not that I work for Apple or anything, but I suspect that Apple wants to encourage manufacturers and companies to build their own UWB devices. At the moment you can build apps using the NearbyInteraction framework available with iOS 15, using XCode Beta, and at least two iPhone 11, iPhone 11 Pro, and iPhone 11 Pro Max or later. You can have a look at the code sample "Implementing Interactions Between Users in Close Proximity" on how to share the discoveryToken from NearbyInteraction using the MultipeerConnectivity framework.
Post not yet marked as solved
2 Replies
0 Views
Hey Ken158, I am also looking at making my own UWB device. Have you tried the latest iOS 15 API for Nearby Interaction? (you may skip the first 6 minutes) Explore Nearby Interaction with third-party accessories