fixed:1.wifi频段弹框判断逻辑修改

This commit is contained in:
jiangxuefei718
2019-03-21 20:20:57 +08:00
parent d781e7d901
commit 91ef51ff82
4 changed files with 13 additions and 16 deletions
@@ -396,7 +396,12 @@ extern BOOL isfromCameraView;
[_wifiTextFiled resignFirstResponder];
NSString *ssidName = [_ssid substringWithRange:NSMakeRange(_ssid.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;
}
// BOOL isRight =[dataContorl isIncludeSpecialCharact:_wifiTextFiled.text];
//
// if (!isRight) {
@@ -409,13 +414,6 @@ extern BOOL isfromCameraView;
[self tapConfirmForResults];
// [self initMMProgressHUD];
NSString *ssidName = [_ssid substringWithRange:NSMakeRange(_ssid.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 connectNotNormalView];
if (_maclabel) {