更换热点链接方式

This commit is contained in:
wbzhan
2019-09-30 13:30:50 +08:00
parent 41e5233e1f
commit bfdf208899
10 changed files with 259 additions and 62 deletions
@@ -159,8 +159,8 @@ Strong UIButton *nextBtn;
[self.nextBtn mas_makeConstraints:^(MASConstraintMaker *make) {
make.centerX.mas_equalTo(self.view);
make.top.mas_equalTo(self.wifiPwdTextField.mas_bottom).offset(kSizeFrom750(100));
make.width.mas_equalTo(kSizeFrom750(400));
make.height.mas_equalTo(kSizeFrom750(55));
make.width.mas_equalTo(200);
make.height.mas_equalTo(30);
}];
[self addContentLabel];;
@@ -207,6 +207,12 @@ Strong UIButton *nextBtn;
}
#pragma mark --buttonClick
-(void)nextBtnClick:(UIButton *)sender{
BOOL isRight =[dataContorl isIncludeSpecialCharact:self.wifiPwdTextField.text];
if (!isRight) {
[self.view makeToast:@"路由器密码不能包含特殊字符,只能为数字、字母或下划线"];
return;
}
ConAquarChooseWiFiVC *chooseVC = InitObject(ConAquarChooseWiFiVC);
chooseVC.wifiName = self.wifiNameTextField.text;
chooseVC.wifiPwd = self.wifiPwdTextField.text;