NEHotspotConfigurationManager.apply(_:completionHandler:) had completionHandler on parameters.
However, the completionHandler may not be called after apply configuration when WiFi is turn off.
Post
Replies
Boosts
Views
Activity
So, the sequence is:
Yes.
Can you reproduce this with NEHotspotConfiguration Sample?
No. But I found that issue is cause by ssidPrefix + isWEP=false.
You can reproduce by modify NEHotspotConfiguration Sample as NEHotspotConfiguration(ssidPrefix: self.ssid, passphrase: password, isWEP: self.isWEP) on line 112 of HotspotManager.swift
tip:
Issue only happen when first call apply(…)
Issue can reproduce after reboot iPhone