質問

using Xcode 4.3

I'm trying to toggle between text fields with a back and next tab in a UIKeyboardTypeDecimalPad keyboard. Can I add those to this type of keyboard? if so how?

役に立ちましたか?

解決

You can override the entire keyboard (will need to make your own number buttons, etc.) with the inputView property on a text field.

Or, you can use the normal UIKit keyboard and add your own accessory view with your own buttons on top of the keyboard with the inputAccessoryView property.

See this example project: https://developer.apple.com/library/ios/#samplecode/KeyboardAccessory/Introduction/Intro.html#//apple_ref/doc/uid/DTS40009462-Intro-DontLinkElementID_2

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top