iOS Replacement for the Deprecated CNCopyCurrentNetworkInfo (Availability - iOS 4.1–14.0)

hello i am using cncopycurrentnetworkinfo for getting the data (ssid,bssid) for the connected wifi network but according to the link https://developer.apple.com/documentation/systemconfiguration/1614126-cncopycurrentnetworkinfo showing Deprecated and showing possible solution is using the method fetchCurrentWithCompletionHandler:(https://developer.apple.com/documentation/networkextension/nehotspotnetwork/3666511-fetchcurrentwithcompletionhandle) this is method of HotspotHelper and i also email networkextension@apple.com ask for that entitlement (com.apple.developer.networking.HotspotHelper) used by HotspotHelper but got rejected. i don't know why because i use network info for the connection between IOT display and wifi router using mobile app.

so is there any other possible solution?
+fetchCurrentWithCompletionHandler: does not require the Hotspot Helper entitlement. Unfortunately that fact is not documented officially (r. 74976266). Fortunately, there’s lots of good info about this method in the doc comments in <NetworkExtension/NEHotspotNetwork.h>.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Are there any additional limitations on accessing the WiFi information on iOS 15?

See this thread.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

iOS Replacement for the Deprecated CNCopyCurrentNetworkInfo (Availability - iOS 4.1–14.0)
 
 
Q