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: Carl Hoefs <email@hidden>
- Date: Tue, 19 Jan 2016 19:30:55 -0700
On Jan 19, 2016, at 6:53 PM, Rick Mann <email@hidden> wrote:
>>
>> 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.
That function was still there and working as recently as iOS 9.2, although it was flagged with a deprecated warning. But now, without any notice, either by accident or by design, it's present but busted in 9.2.1.
We thought Apple was going to devise some other way to simply retrieve the SSID name and phase over to it in iOS 10.0. Not interested in the 'hotspot' route, which requires a blessing from "home base' anyway (and most people I know of have been denied it).
This will screw us up bigtime.
-Carl
_______________________________________________
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