UIAlertViewその中に aを含む a をポップアップしてUITextFieldいます。テキスト フィールドですべての単語を自動的に大文字にします。テキストフィールドのプロパティを設定してこれを行っていますが、実行時には効果がありません。これが私のコードです:
UIAlertView* alert = [[UIAlertView alloc] initWithTitle: title
message: message
delegate: self
cancelButtonTitle: @"Cancel"
otherButtonTitles: @"Create", nil];
alert.alertViewStyle = UIAlertViewStylePlainTextInput;
UITextField* titleField = [alert textFieldAtIndex: 0];
titleField.autocapitalizationType = UITextAutocapitalizationTypeWords;
[alert show];
この自動大文字化はUITextFieldフォームで機能してXIBいますが、UIAlertView では機能していません。iOS 6 を使用しています。