CNCopySupportedInterfaces
CNCopySupportedInterfaces
- Subject: CNCopySupportedInterfaces
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Fri, 02 Oct 2015 23:21:46 +0700
I am trying to update some source code which does every second:
CNCopySupportedInterfaces and CNCopyCurrentNetworkInfo and extracts the values of kCNNetworkInfoKeySSID and kCNNetworkInfoKeyBSSID.
All this is deprecated in iOS 9.0.
Xcode 7.0 tells me:
'CNCopySupportedInterfaces' is deprecated: first deprecated in iOS 9.0 - For captive network applications, this has been completely replaced by <NetworkExtension/NEHotspotHelper.h>. For other applications, there is no direct replacement. Please file a bug describing your use of this API to that we can consider your requirements as this situation evolves.
“The NEHotspotHelper interface allows an application to participate in the process of joining Wi-Fi/hotspot networks.”
I have no idea, whether this app is a “captive network application”. It certainly has nothing to do with Hotspots.
It is just an app which tries to communicate with a light bulb.
Any ideas, what to do?
Gerriet.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden