How to check network provider name in iOS programming?
I need to check whether device has been connected properly to "My-Wifi" network or not. If it is connected then I will send some data to server otherwise not. Right now I am just checking with the Internet connection, using Reachability class. So how to check that? You can make use of CNCopySupportedInterfaces() call. CFArrayRef interfaces = CNCopySupportedInterfaces(); CFIndex count = CFArrayGetCount(interfaces); for (int i = 0; i < count; i++) { CFStringRef interface = CFArrayGetValueAtIndex(interfaces, i); CFDictionaryRef netinfo = CNCopyCurrentNetworkInfo(interface); if (netinfo &&