CNCopyCurrentNetworkInfo & iOS 13 & connecting to cameras

Hi Apple / Quinn,


Our app uses CNCopyCurrentNetworkInfo to show the wifi SSID to the user, so they can determine "Yup that's the wifi SSID of my camera, that's correct" or "oh, hey, I forgot to connect the wifi to the camera, no wonder it isn't working".


I understand CNCopyCurrentNetworkInfo is going to be changed in iOS 13 -- there was an email received today about this. I also understand that if my app requests location information from the user while using the app, and they accept, then CNCopyCurrentNetworkInfo will continue to function as expected in iOS 13.


Question: is it sufficient to call CLLocationManager's requestWhenInUseAuthorization to make CNCopyCurrentNetworkInfo work? or is requestAlwaysAuthorization required?


thanks,

-tim

Honestly, I don’t know. I’d recommend that you test this on the latest iOS 13 beta.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
CNCopyCurrentNetworkInfo & iOS 13 & connecting to cameras
 
 
Q