获取wifi信息兼容iOS 14以上设备
This commit is contained in:
@@ -9,6 +9,9 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "UIColor+HexString.h"
|
||||
#import <SystemConfiguration/CaptiveNetwork.h>
|
||||
#import <NetworkExtension/NetworkExtension.h>
|
||||
#import "Reachability.h"
|
||||
#import <CoreTelephony/CTTelephonyNetworkInfo.h>
|
||||
@interface CommonUtils : NSObject
|
||||
|
||||
typedef enum{
|
||||
@@ -22,8 +25,6 @@ typedef enum{
|
||||
//系统默认整体页面背景色
|
||||
#define COLOR_Background HEXCOLOR(@"#f6f6f6")
|
||||
|
||||
/// 获取WiFi信息
|
||||
+ (NSDictionary *)getSSIDInfo;
|
||||
/**
|
||||
获取手机型号
|
||||
*/
|
||||
@@ -161,4 +162,5 @@ typedef enum{
|
||||
CGAffineTransform GetCGAffineTransformRotateAroundPoint(float centerX, float centerY ,float x ,float y ,float angle);
|
||||
+ (void)interfaceOrientation:(UIInterfaceOrientation)orientation;
|
||||
+ (UIBarButtonItem*)ItemWithTitle:(NSString *)title target:(id)target action:(SEL)action titleColor:(UIColor*)titleColor;
|
||||
+ (void )getNetworkTypeComplete:(void(^)(NSString*netconnType,NSString *BSSID,NSString *SSID))complete;
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user