I am trying to figure out that it is possible to get the type of security of the network to which the device is connected (WEP / WPA). I know it is possible to get the SSID, but I had no luck getting the security type. Any help?
For macOS, you can use coreWLAN and then get the information you want from CWSecurity. But CoreWLAN is not available for iOS and SystemConfiguration cannot provide you with this information.