Next and Back tabs in UIKeyboard
-
13-06-2021 - |
سؤال
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
لا تنتمي إلى StackOverflow