textField
を持つサンプルアプリケーションを作成しました。戻り値の型を行う必要があります。テキストを「完了」から「投稿」に変更したいUITextFieldが "完了"から "投稿"に戻るキーテキストを返す
私は本当にそれをする必要があります。
どうすればよいですか?前もって感謝します。
textField
を持つサンプルアプリケーションを作成しました。戻り値の型を行う必要があります。テキストを「完了」から「投稿」に変更したいUITextFieldが "完了"から "投稿"に戻るキーテキストを返す
私は本当にそれをする必要があります。
どうすればよいですか?前もって感謝します。
OSで定義されているリターンキーとキーボードの種類を取得します。そのボタンを変更するためにキーボードのビュー階層をハックしようとしない限り、これは本当に悪い計画です。 (標準勧告はここに彼らはあなたがより/異なるオプションを希望知っているようにAppleとバグレポートを提出することです
今、Appleはこれらのみのタイプをサポートしています。
typedef enum {
UIReturnKeyDefault,//Set the text of the return key to “return”.
UIReturnKeyGo,//Set the text of the return key to “Go”.
UIReturnKeyGoogle,//Set the text of the return key to “Google”.
UIReturnKeyJoin,//Set the text of the return key to “Join”.
UIReturnKeyNext,//Set the text of the return key to “Next”.
UIReturnKeyRoute,//Set the text of the return key to “Route”.
UIReturnKeySearch,//Set the text of the return key to “Search”.
UIReturnKeySend,//Set the text of the return key to “Send”.
UIReturnKeyYahoo,//Set the text of the return key to “Yahoo”.
UIReturnKeyDone,//Set the text of the return key to “Done”.
UIReturnKeyEmergencyCall,//Set the text of the return key to “Emergency Call”.
} UIReturnKeyType;
たぶん、あなたは代わりに送ることができます。
ok.uikeyboardでuibuttonのサブビューを追加することができます.http://www.neoos.ch/news/46-development/54-uikeyboardtypenumberpad-and-the-missing-return-key ..その後リンゴは私のアプリケーションを拒否できますか? – raj