更换热点链接方式
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user