Next and Back tabs in UIKeyboard
-
13-06-2021 - |
Pregunta
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?
Solución
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
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow