fixed:wifi 5G弹框样式修改

This commit is contained in:
jiangxuefei718
2019-03-20 15:31:16 +08:00
parent a1f9494a73
commit d27709b0cd
4 changed files with 15 additions and 12 deletions
@@ -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{