I am trying to create a custom keyboard using Swift for iOS 8, and I created each button programmatically. When switching to the userβs keyboard from the built-in keyboard for the first time, this is rather slow, since it took about 2 seconds. I'm not quite sure if I am doing this correctly. Below is my code and I am just showing 2 buttons, but there is a lot more:
class KeyboardViewController: UIInputViewController { @IBOutlet var nextKeyboardButton: UIButton! @IBOutlet var qButton: UIButton! var buttonFontSize:CGFloat = 22.0 var gapBtwButton:CGFloat = +7.0
Please rate any comments, please :)
Thanks Mark Thien
ios8
Mark thien
source share