UIAlertView
ログイン/パスワード付きのテキストフィールドを表示して、キーボードのタイプがタイプになるようにする方法はありUIKeyboardTypeEmailAddress
ますか?
私は次のように使用UIAlertView
します:
var alertView = new UIAlertView("Login".Translate(), "", null, "Cancel".Translate(), "Login".Translate());
alertView.AlertViewStyle = UIAlertViewStyle.LoginAndPasswordInput;
または、Objective-Cの場合:
UIAlertView *alertView = [[UIAlertView alloc]
initWithTitle:@"Title"
message:@"Message"
delegate:self
cancelButtonTitle:@"Cancel"
otherButtonTitles:@"Login", nil];
[alertView setAlertViewStyle:UIAlertViewStyleLoginAndPasswordInput];
ただし、私のアプリのユーザー名はすべて電子メールアドレスであるため、ログインテキストフィールドのキーボードを電子メールアドレスキーボードとして使用したいと思いますUIKeyboardTypeEmailAddress
。
何か案は?