fixed:1.wifi频段弹框判断逻辑修改
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user