宠物笼绑定界面修改,不同类型弹框

This commit is contained in:
kai60
2020-07-07 17:26:22 +08:00
parent 80e310693f
commit f9b3f4074f
5 changed files with 52 additions and 28 deletions
@@ -523,26 +523,9 @@ self.attentionLabel.text=@"1、请长按摄像头背后复位孔,复位摄像
[self.view makeToast:[NSString stringWithFormat:@"WiFi连接失败,请确保手机连接到%@",self.wifiName]];
}
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
UIViewController*choosewifi=nil;
for (UIViewController*controller in self.navigationController.viewControllers) {
if ([controller isKindOfClass:[ConAquarNowWiFiPwdVC class]])
{
choosewifi=controller;
break;
}
}
if (choosewifi)
{
[self.navigationController popToViewController:choosewifi animated:YES];
}
else
{
[self connectNormalView];
}
});
[self.navigationController popViewControllerAnimated:YES];
});
}
else if(!self.deviceID.length)