Why is there no pop-up prompt when using the NEHotspot Configuration Manager app's Configuration interface to connect to WiFi failed

When using the NEHotspotConfigurationManager applyConfiguration interface for network connection.Sometimes there is a pop-up prompt when the connection fails, and sometimes there is no pop-up prompt. Why is there no pop-up prompt when the connection fails

Answered by DTS Engineer in 871172022

The general model for apply(_:completionHandler:), as explained in the docs, involves three steps:

  1. Apply the Wi-Fi configuration.
  2. Join the network.
  3. Bring up the TCP/IP stack on that interface.

Problems with step 1 are delivered to your app via the method’s completion handler. Problems with step 2 are communicated to the user via an alert. Problems with step 3 can result in a variety of different behaviours.

If you’re seeing a case where the devices fails to join the network and that’s not reported to the app or the user, that’s something we should investigate via a bug report. See this post for my advice on filing Wi-Fi bugs.

If you do file any bugs about this, please post your bug number, just for the record.

Share and Enjoy

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

The general model for apply(_:completionHandler:), as explained in the docs, involves three steps:

  1. Apply the Wi-Fi configuration.
  2. Join the network.
  3. Bring up the TCP/IP stack on that interface.

Problems with step 1 are delivered to your app via the method’s completion handler. Problems with step 2 are communicated to the user via an alert. Problems with step 3 can result in a variety of different behaviours.

If you’re seeing a case where the devices fails to join the network and that’s not reported to the app or the user, that’s something we should investigate via a bug report. See this post for my advice on filing Wi-Fi bugs.

If you do file any bugs about this, please post your bug number, just for the record.

Share and Enjoy

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

Why is there no pop-up prompt when using the NEHotspot Configuration Manager app's Configuration interface to connect to WiFi failed
 
 
Q