Re: CNCopySupportedInterfaces broken in iOS 9.2.1
Re: CNCopySupportedInterfaces broken in iOS 9.2.1
- Subject: Re: CNCopySupportedInterfaces broken in iOS 9.2.1
- From: Rick Mann <email@hidden>
- Date: Tue, 19 Jan 2016 17:53:21 -0800
> On Jan 19, 2016, at 17:41 , Dieter Siegmund <email@hidden> wrote:
>
>
>> On Jan 19, 2016, at 5:25 PM, Rick Mann <email@hidden> wrote:
>>
>>
>>> On Jan 19, 2016, at 17:20 , Carl Hoefs <email@hidden> wrote:
>>>
>>> After upgrading a number of devices to iOS 9.2.1, we have belatedly
>>> discovered that now CNCopySupportedInterfaces() returns only nil, whereas
>>> in iOS 9.2 and earlier it returned a CFArray of interfaces.
>>>
>>> Is there a replacement for this function (to obtain the currently
>>> connected SSID)? Or is this just plain broken? This functionality is
>>> essential to much we're doing right now.
>>
>> This is, unfortunately, by design. If your app is a (narrowly-defined) hot spot helper app, then there are other APIs for finding out *some* network information, but you need special permission from Apple to use them, and they're not willing to approve uses outside the box.
>
> CNCopySupportedInterfaces() *should* continue to be working in iOS 9.
>
> If you haven’t already, please file a problem report.
We used to use this to get the current Wi-Fi network name (our app connects to our hardware via Wi-Fi, and we use the network name to help guide the user when problems arise).
Then the call went away. Looking online, it seems some people say it came back in iOS 9 GM, but I don't recall that ever working again. We ended up removing the functionality and unfortunately, our users suffer a bit more when problems arise.
It sounds like you're saying it's supposed to be there, although it also sounds like it's buggy, at best.
--
Rick Mann
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden