fixed:wifi 5G弹框样式修改
This commit is contained in:
+6
-4
@@ -963,6 +963,12 @@ withFilterContext:(id)filterContext
|
||||
|
||||
return;
|
||||
}
|
||||
NSString *ssidName = [self.wifiName substringWithRange:NSMakeRange(self.wifiName.length-2, 2)];
|
||||
if ([ssidName.uppercaseString isEqualToString:@"5G"]) {
|
||||
UIAlertView *alert= [[UIAlertView alloc] initWithTitle:@"" message:@"仅支持2.4G WI-Fi网络,请重新选择" delegate:nil cancelButtonTitle:@"去更改" otherButtonTitles:nil, nil];
|
||||
[alert show];
|
||||
return;
|
||||
}
|
||||
//旧连接效果已去
|
||||
//[self initMMProgressHUD];
|
||||
//最新连接效果
|
||||
@@ -1054,10 +1060,6 @@ withFilterContext:(id)filterContext
|
||||
self.sBtn.hidden = YES;
|
||||
self.nodImg.hidden = YES;
|
||||
self.redTipLable.hidden=YES;
|
||||
NSString *ssidName = [self.wifiName substringWithRange:NSMakeRange(self.wifiName.length-2, 2)];
|
||||
if ([ssidName.uppercaseString isEqualToString:@"5G"]) {
|
||||
UIAlertView *alert= [[UIAlertView alloc] initWithTitle:@"" message:@"仅支持2.4G WI-Fi网络,请重新选择" delegate:nil cancelButtonTitle:@"去更改" otherButtonTitles:@"", nil];
|
||||
}
|
||||
}
|
||||
|
||||
-(void)wifiviewkeyboardWillHide:(NSNotification *)notify{
|
||||
|
||||
Reference in New Issue
Block a user