

The next thing you need to do is create a configuration object, which will be a subclass of NIConfiguration. The delegate will receive updates from the framework. Next, you'll need to designate a part of your app to conform to the NISessionDelegate protocol. That's the main object through which you'll configure and run your spatial interactions with nearby devices. You start with creating a session instance. Before we dive in, for those of you who are new to Nearby Interaction, or just need a refresher, let's quickly recap how you use the framework in your app. After that, we'll introduce new APIs for running Nearby Interaction with compatible third-party hardware.Īnd we'll finish with talking about resources for app developers, as well as accessory manufacturers, for getting started with adopting these new APIs in apps and third-party accessories. We'll start with updates to the user permission flow. This is what we'll cover in this session. It's the same technology that powers "Precision Finding" with AirTag and the fluid handoff gestures between iPhone and HomePod mini. The Nearby Interaction framework makes it easy to take advantage of the unique capabilities of U1, Apple's chip for Ultra-Wideband technology, and enables creating precise and spatially-aware interactions between nearby devices. In this talk, I'll cover the latest advancements, as well as the new features that are coming to the Nearby Interaction framework this year. ♪ ♪ Hi, my name is Yagil Burowski, and I'm an engineer on the Location Technologies team at Apple.

To find out more about Nearby Interaction, check out the framework documentation linked as part of this session. Learn about resources for getting started with accessory and app development such as development kits, sample code, and specification documents, along with supported technology providers.
APPLE WWDC 2021 SESSIONS HOW TO
We'll show you how to use the Nearby Interaction framework's standards-based technology to implement precise and directionally-aware experiences with accessories. Explore Nearby Interaction with third-party accessoriesĭiscover how your app can interact with Ultra Wideband (UWB) third-party accessories when running on a U1-equipped device.
