Is it possible to detect new Wi-Fi connections in iOS when app is in Background
I need to create LocalNotifications when user connects to new Wi-Fi connections SSID, to notice the user to connect to VPN for security reasons.
I can see a couple of possible directions you might take here:
VPN On Demand — This lets you set up various criteria under which the VPN will automatically connect. If you implement a custom VPN transport then it could post a notification when that connection fails.
See the VPN On Demand section of the iOS Deployment Reference for more on how this works.
NEHotspotHelper— Hotspot helper allows your app to get involved in the hotspot login process. See the docs for more.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"