Currently in our app, to identify a network switch in device we are doing NEHotspotHelper.register and then NEHotspotHelperHandler block. When the command type is evaluate and if the network.didJustJoin, we are identifying it as a network switch. As a part of moving our code base to iOS 26, if is found that NEHotspotHelper is deprecated. What is the proper replacement for this?
Quoting the docs:
NEHotspotHelperallows your app to participate in the process of authenticating with hotspot networks, that is, Wi-Fi networks where the user must interact with the network to gain access to the wider Internet.
Hotspot helper is, and has never been, a recommended way to “identify a network switch”.
What is the proper replacement for this?
The replacement for the supported uses cases of NEHotspotHelper are the hotspot helper evaluation and authentication provider extensions. See here. However, these are tightly focused on the supported use cases, and thus are unlikely to help you with the unsupported use cases.
To help you with that, I need a better understanding of your high-level goals. What are you actually trying to detect? And to what end?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"