获取当前连接WiFi的名字

导入类库 #import <SystemConfiguration/CaptiveNetwork.h>code + (NSString *)getWiFiName { NSString *wifiName = nil; CFArrayRef wifiInterfaces = CNCopySupportedInterfaces(); if (
相关文章
相关标签/搜索