The original API still works in iOS 9, but to use the new method, you need to 
ask Apple for an entitlement by sending an email to [email protected]. 
It took me around a week for approval. Be sure to explain your need, especially 
how simple it is in the scheme of the expectations you read in their docs.
--
Gary L. Wade (Sent from my iPhone)
http://www.garywade.com/

> On Oct 2, 2015, at 9:21 AM, Gerriet M. Denkmann <[email protected]> wrote:
> 
> 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 protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to