Hello, dear engineer:
The UWB Accessory used by my APP has inconsistent code callbacks on iOS17 and iOS18.
I have connected multiple UWB Accessory by Accessory Single Configuration Data (UUID: 95e8d9d5-d8ef-4721-9a4e-807375f53328) in the APP.
-
In iOS17.5.1, the unconnected Accessory calls the func session in the NiSessionDelegate (_ session: NISession, didRemove nearbyObjects: [NINearbyObject], "reason: NINearbyObject RemovalReason)," reason is the timeout.
-
iOS18.0.1 does not call didRemove and fails to connect automatically after 10 minutes on the disconnected Accessory.
-
iOS18.2 does not call didRemove. After 10 minutes, when the Accessory is not connected, it automatically connects and starts ranging.
Therefore, I would like to ask what is updated in iOS18 UWB? Is there a document for reference, or can you provide the callback performance of each iOS version for UWB?
The code is as follows:
niConfiguration = try NINearbyAccessoryConfiguration(data: Data(AccessoryUwbConfigData))
uwbSession.run(niConfiguration)