微信登陆,bug修改
This commit is contained in:
+5
-1
@@ -313,7 +313,11 @@ self.attentionLabel.text=@"1、请长按摄像头背后复位孔,复位摄像
|
||||
[self.navigationController pushViewController:vc animated:YES];
|
||||
}
|
||||
-(void)sBtn:(UIButton*)btn{
|
||||
NSString *ssidName = [self.wifiName substringWithRange:NSMakeRange(self.wifiName.length-2, 2)];
|
||||
NSString *ssidName =@"";
|
||||
if (self.wifiName.length>2) {
|
||||
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];
|
||||
|
||||
Reference in New Issue
Block a user