1 Reply
      Latest reply on Oct 8, 2018 12:54 AM by eskimo
      FabioB Level 1 Level 1 (0 points)

        I found a problem when i try to connect a non-existent wifi, this is my code:

         

        let configuration = NEHotspotConfiguration.init(ssid: "wifi-name")
         NEHotspotConfigurationManager.shared.apply(configuration) { [unowned self] (error) in
               print("NEHotspotConfigurationManager.error: \(error)")
           }

         

        if the wifi dosen't exist, i see and dialog with "impossible to connect network "wifi-nam"", but the error in the NEHotspotConfigurationManager is nil, so how can control if a specific ssid wifi exists?

        Thank