I would like to connect an iPhone to Wi-Fi from my app without any popups. I work for a Wi-Fi testing company, and we have hundreds of iPhones that need to be connected to and disconnected from Wi-Fi frequently. We need to automate this process. Please let me know if there is any way to achieve this. Thanks in advance.
I need an API to connect Wifi without any user interactions.
I would like to connect an iPhone to Wi-Fi from my app without any popups.
There is no API to do that. For a summary of what APIs are available on iOS, see TN3111 iOS Wi-Fi API overview.
we have hundreds of iPhones that need to be connected to and disconnected from Wi-Fi frequently
That sounds like a managed environment, and I recommend that you explore solutions in the MDM space.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"