开发者

iOS Open WI-FI Networks Controller

开发者 https://www.devze.com 2023-03-22 18:36 出处:网络
I show a pop-up when no connection is av开发者_运维百科ailable. When pressing on OK button of this pop-up I would like to open WI-FI Networks native Controller (Settings). How can I do that?

I show a pop-up when no connection is av开发者_运维百科ailable. When pressing on OK button of this pop-up I would like to open WI-FI Networks native Controller (Settings). How can I do that?

Thx!


On a non-jailbroken device, I do not believe that this is possible because you cannot open another application or execute any code that is not part of your application. If your application requires that the user be connected to WiFi, you can set the UIRequiresPersistentWiFi key in your Info.plist. This will leave it up to iOS to present the user with anything required to connect to a WiFi network.

0

精彩评论

暂无评论...
验证码 换一张
取 消