NEHotspotConfigurationmanager fails if Bluetooth is connected on an iPhone or iPad.
im using code simular to the follwoing:
NEHotspotConfigurationManager.shared.apply(hotspotConfig) {[unowned self] (error) in
if let error = error {
self.showError(error: error)
}
else {
self.showSuccess()
}
}
This works each time if bluetooth is not paired to any device, but once it is, it fails every time.
Does anyone know a solution to this?
Thanks in advance