| | |
| | | } |
| | | //验证码不需要隐藏 |
| | | etPassword.SecureTextEntry = false; |
| | | #if __IOS__ |
| | | etPassword.SetTextContentTypeToOneTimeCode(); |
| | | #endif |
| | | } |
| | | #endregion |
| | | } |
| | |
| | | //} |
| | | //隐藏密码 |
| | | etPassword.SecureTextEntry = true; |
| | | etPassword.IsNumberKeyboardType = false; |
| | | //etPassword.IsNumberKeyboardType = false; |
| | | } |
| | | //验证码登录 |
| | | else if (logintMode == 1) |
| | |
| | | //验证码不需要隐藏 |
| | | etPassword.SecureTextEntry = false; |
| | | etPassword.Text = smsCode; |
| | | etPassword.IsNumberKeyboardType = true; |
| | | #if __IOS__ |
| | | var currentInputMode = UIKit.UITextInputMode.CurrentInputMode; |
| | | var installedInputModes = UIKit.UITextInputMode.ActiveInputModes; |
| | | var temmm = new EditText() |
| | | { |
| | | X = Application.GetRealWidth(78), |
| | | Width = Application.GetRealWidth(61 + 84), |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | Foucs = true, |
| | | BackgroundColor = 0x44330000, |
| | | }; |
| | | passwordView.AddChidren(etPassword); |
| | | //etPassword.IsNumberKeyboardType = true; |
| | | |
| | | #endif |
| | | } |
| | | } |
| | | |
| | |
| | | Thread.Sleep(10); |
| | | } |
| | | }) { IsBackground = true }.Start(); |
| | | #if __IOS__ |
| | | var sst = etPassword.MyTextContentType; |
| | | Console.WriteLine(sst); |
| | | etPassword.SetTextContentTypeToOneTimeCode(); |
| | | #endif |
| | | } |
| | | else |
| | | { |