use `NEHotspotConfigurationManager.shared.apply(hotspotConfig)` to join a wifi slow on iphone17+

we use the api as NEHotspotConfigurationManager.shared.apply(hotspotConfig) to join a wifi, but we find that in in iphone 17+, some user report the time to join wifi is very slow

the full code as

            let hotspotConfig = NEHotspotConfiguration(ssid: sSSID, passphrase: sPassword, isWEP: false)

            hotspotConfig.joinOnce = bJoinOnce
            if #available(iOS 13.0, *) {
                hotspotConfig.hidden = true
            }

            NEHotspotConfigurationManager.shared.apply(hotspotConfig) { [weak self] (error) in
                guard let self else {
                    return
                }
                if let error = error {
                    log.i("connectSSID Error while configuring WiFi: \(error.localizedDescription)")
                    if error.localizedDescription.contains("already associated") {
                        log.i("connectSSID Already connected to this WiFi.")
                        result(["status": 0])
                    } else {
                        result(["status": 0])
                    }
                } else {
                    log.i("connectSSID Successfully connected to WiFi network \(sSSID)")
                    result(["status": 1])
                }
            }

Normally it might only take 5-10 seconds, but on the iPhone 17+ it might take 20-30 seconds.

Answered by DTS Engineer in 865921022

When you see Wi-Fi problems that are specific to a particular device model, the best path forward is to file a bug. In this specific case, I’ve seen similar reports from other folks. And this post has specific advice on how to file an effective Wi-Fi bug.

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"

When you see Wi-Fi problems that are specific to a particular device model, the best path forward is to file a bug. In this specific case, I’ve seen similar reports from other folks. And this post has specific advice on how to file an effective Wi-Fi bug.

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"

Apple80211ScanAsync scan very slow and [WIFICLOUDSYNC] need much time

I will report in the feedback platform.

Thanks.

And don’t forget to reply here with the bug number.

ps It’s better to reply as a reply, rather than in the comments; see Quinn’s Top Ten DevForums Tips for this and other titbits.

Share and Enjoy

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

use `NEHotspotConfigurationManager.shared.apply(hotspotConfig)` to join a wifi slow on iphone17+
 
 
Q