I have the following problem about NEHotspotConfiguration.
Even after deleting [Wi-Fi configuretion profile], NEHotspotConfiguretionManager.shared.apply returns systemConfiguration error.
- Install [Wi-Fi configuration profile] created in my application.
- Manually delete Wi-Fi configuration profile installed in [1.]
- In my application, try to connect Wi-Fi access point.
- Get systemConfiguretion error for the connection requeest in [3.]. NEHotspotConfigurationError.systemConfiguration(= 10)
My code is like below,
let accsessPointAConfig = NEHotspotConfiguration(ssid: A.ssid, passphrase: A.pass, isWEP: false)
NEHotspotConfigurationManager.shared.apply(accsessPointAConfig)I expect my application can connect Wi-Fi access point with NEHotspotConfigurationManager after removing [Wi-Fi configuretion profile].
I've also observed strange behaviors.
- Wi-Fi configuration profile was deleted but I could connect the Access Point in [Settings] of iOS.
- [Settings] > [Wi-Fi] > [Info button]. There wasn't [Forget this network] button.
I'd appreciate it if you would tell me the cause or solution of this issue.
Thank you.