jikaipeng %!s(int64=5) %!d(string=před) roky
rodič
revize
a26651ff8e

binární
KuDianProject.xcworkspace/xcuserdata/kaipeng.xcuserdatad/UserInterfaceState.xcuserstate


+ 0 - 2
KuDianProject/Login/controller/KDPPhoneLoginViewController.m

@@ -69,7 +69,6 @@ static int count = 0;
69 69
     phoneField.textColor = [UIColor colorWithHex:0x333333];
70 70
     phoneField.font = FONT_SYS(16);
71 71
     phoneField.placeholder = @"请输入手机号";
72
-    phoneField.clearButtonMode = UITextFieldViewModeWhileEditing;
73 72
     [phoneField addTarget:self action:@selector(valueChanged:) forControlEvents:UIControlEventValueChanged];
74 73
     self.phoneTextField = phoneField;
75 74
     [self.view addSubview:self.phoneTextField];
@@ -93,7 +92,6 @@ static int count = 0;
93 92
     self.codeField.textColor = [UIColor colorWithHex:0x333333];
94 93
     self.codeField.font = FONT_SYS(16);
95 94
     self.codeField.placeholder = @"请输入验证码";
96
-    self.codeField.clearButtonMode = UITextFieldViewModeWhileEditing;
97 95
     [self.view addSubview:self.codeField];
98 96
     
99 97
     UIView *lineView = [[UIView alloc] initWithFrame:CGRectMake(32, self.codeField.bottom + 12, SCREEN_WIDTH-64, 1)];