문제

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