fix
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
@property (nonatomic, copy) void(^ network)(AFNetworkReachabilityStatus status);
|
||||
//当前网络状态,-1未知、0无网络、1蜂窝数据网络、2WiFi
|
||||
@property (nonatomic, assign) AFNetworkReachabilityStatus currentNetworkStatus;
|
||||
-(void)testNetworkStatus;
|
||||
|
||||
- (void)showNoNetWorkView;
|
||||
- (void)removeNoNetWorkView;
|
||||
|
||||
@@ -99,11 +99,13 @@
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
break;
|
||||
}
|
||||
}] ;
|
||||
//开始检测
|
||||
[manager startMonitoring];
|
||||
|
||||
}
|
||||
|
||||
//显示信息,并在设定延时后返回上级界面
|
||||
|
||||
Reference in New Issue
Block a user