How to display a list of Wifi-Networks in an iPhone app?

前端 未结 3 1387
庸人自扰
庸人自扰 2021-02-10 06:17

I found some private (undocumented) APIs but Apple does not allow apps to use private frameworks. So does anyone know how to do this using Apple official packages?

like:

3条回答
  •  自闭症患者
    2021-02-10 06:48

    If you set the UIRequiresPersistentWiFi setting in your info.plist file, the iPhone OS will know that your app needs Wifi and pop up the message for you.

    As far as I know, no app actually manually displays the wifi selection alert.

提交回复
热议问题