2011-08-08 4 views

答えて

1

OSで定義されているリターンキーとキーボードの種類を取得します。そのボタンを変更するためにキーボードのビュー階層をハックしようとしない限り、これは本当に悪い計画です。 (標準勧告はここに彼らはあなたがより/異なるオプションを希望知っているようにAppleとバグレポートを提出することです

+0

ok.uikeyboardでuibuttonのサブビューを追加することができます.http://www.neoos.ch/news/46-development/54-uikeyboardtypenumberpad-and-the-missing-return-key ..その後リンゴは私のアプリケーションを拒否できますか? – raj

13

今、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; 

たぶん、あなたは代わりに送ることができます。

関連する問題