简体   繁体   中英

iOS Open WI-FI Networks Controller

I show a pop-up when no connection is available. 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM