Re: CNCopySupportedInterfaces
Re: CNCopySupportedInterfaces
- Subject: Re: CNCopySupportedInterfaces
- From: Rick Mann <email@hidden>
- Date: Fri, 02 Oct 2015 11:28:26 -0700
They refused our use, which was to determine if the user has correctly connected to our wifi device, but for some reason the device wasn't responding.
Sent from my iPhone
> On Oct 2, 2015, at 09:40, Gary L. Wade <email@hidden> wrote:
>
> 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@hidden. 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@hidden> 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@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
_______________________________________________
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