1

私は最初のiPhoneアプリを開発しています. Apple キーボードの最後の行は、私が計画しているアプリでは冗長であり、画面の領域を占有しているだけです。完了ボタンは必要ですが、シフト ボタンは必要ありません (3 行目)。キーを変更してキーボードのキーを取り除く方法はありますか。Apple が「カスタム」キーボードを好まないことは知っていますが、キーボードの機能全体を台無しにすることなく、1 つまたは 2 つのキーをカスタマイズできますか。「ヒント」ボタンのスペースバーなどのキーを置き換えることができない場合は素晴らしい行を取り除くことができれば?

カスタム キー (ヒント ボタンなど) をキーボードに追加することが許可されていない場合、iPhone キーボードの最後の行を削除したり、特定のキーの機能を変更したりできますか?

私はこれらのことについてあまり知りません。私はかなり新しいので、事前に助けてくれてありがとう:)。

4

2 に答える 2

1

いいえ、Apple キーボードのキー機能システムを変更することはできませんが、キーボードの種類を変更することはできます。

typedef enum {
    UIKeyboardTypeDefault,                // Default type for the current input method.
    UIKeyboardTypeASCIICapable,           // Displays a keyboard which can enter ASCII characters, non-ASCII keyboards remain active
    UIKeyboardTypeNumbersAndPunctuation,  // Numbers and assorted punctuation.
    UIKeyboardTypeURL,                    // A type optimized for URL entry (shows . / .com prominently).
    UIKeyboardTypeNumberPad,              // A number pad (0-9). Suitable for PIN entry.
    UIKeyboardTypePhonePad,               // A phone pad (1-9, *, 0, #, with letters under the numbers).
    UIKeyboardTypeNamePhonePad,           // A type optimized for entering a person's name or phone number.
    UIKeyboardTypeEmailAddress,           // A type optimized for multiple email address entry (shows space @ . prominently).

    UIKeyboardTypeAlphabet = UIKeyboardTypeASCIICapable, // Deprecated

} UIKeyboardType;
于 2013-03-01T12:21:47.930 に答える
0

どのキーの機能も変更できません。ただし、キーボードの上にオーバーレイすることで、さらに多くの機能を実現できます。

ではごきげんよう !!!

于 2013-03-01T12:20:57.573 に答える