Questions tagged [custom-keyboard]

Relating to a custom keyboard created to override the default onscreen keyboard in a user interface. Also see [ios-app-extension] for iOS Custom Keyboard Extensions.

Use this tag for questions referring to overriding the default keyboard in a user interface. Also see for iOS Custom Keyboard Extensions.

Apple documentation: App Extension Programming Guide

712 questions
3
votes
1 answer

iOS custom keyboard typing is extremely slow

I created a custom keyboard on xcode using Swift. It works perfectly on simulator but when I tested it on real device the response was very slow (min 5 sec) though keyboard appears quickly. I do not know what is the problem. When button is pressed…
Arkalyk Akash
  • 211
  • 2
  • 11
3
votes
1 answer

Proper implementation of handleInputModeList in Custom Keyboard

A new API has been added in iOS 10 to present the list of other keyboards the user can switch to - the same list that appears when users long press the globe on a system keyboard. The declaration of the function is as follows: func…
Jordan H
  • 52,571
  • 37
  • 201
  • 351
3
votes
0 answers

Is there any delegate method to get information when cursor in the UITextField or UITextView using keyboard extension is moved?

I want to handle a situation in my custom keyboard when the user moves the blinking cursor in the textview/textfield using my keyboard. I looked in to the apple's documentation of UIInputViewController and couldn't find any. Does anybody has an idea…
KrishnaCA
  • 5,615
  • 1
  • 21
  • 31
3
votes
1 answer

nscoder swift cannot be sent to an abstract object of class NSCoder

I'm trying to implement autocorrection through SymSpell I've created the dictionary in the container app and should save it and read it from the keyboard extension the dictionary contains a dictionaryItem object which needs to be serialized to be…
MhammedMohie
  • 312
  • 2
  • 9
3
votes
0 answers

swift ios keyboard extension - long press / press and hold

I need to know how to add long press (press and hold) function to ios custom keyboard extension so that i con show multiple keys to chose one from. expected design my project structure current code for keypress action - code can add the title of…
user2994762
  • 115
  • 1
  • 2
  • 10
3
votes
2 answers

UIButtons in specific zone of the screen make delay on Touch Down event

I'm creating a Custom Keyboard for iOS. I have 4 rows of keys, each key have two actions: Touch Down to highlight button, and Touch Up Inside to unhighlight the button in 0.4 seconds. But at the left edge of the screen there is a zone where Touch…
zangar777
  • 41
  • 2
3
votes
0 answers

Custom keyboard height and width not change in outer application

Custom keyboard is properly working in my application but when i move to another app like reminder then do not change height and width of custom keyboard so, how to resolve this problem. working my app on all iPhone device like this when i open…
ikbal
  • 1,114
  • 1
  • 11
  • 30
3
votes
1 answer

Custom Keyboard in iOS 9 crashes after adding an UICollectionView

My custom keyboard runs smooth and nice. Now, I wanna add an UICollectionView. I added it in the control to my view in the Interface Builder and the data source and delegate protocol to my view controller which is the File's owner of the related xib…
Tobonaut
  • 2,245
  • 2
  • 26
  • 39
3
votes
1 answer

Custom Keyboard - Add multiple emoji icons while long press on keyboard button

Anyone having an idea how to create a custom view for multiple emoji icons, while user long press on the keyboard.
kb920
  • 3,039
  • 2
  • 33
  • 44
3
votes
1 answer

Apple's Emoji keyboard from my custom keyboard

How can I call Apple's Emoji keyboard from my custom keyboard?
landonandrey
  • 1,271
  • 1
  • 16
  • 26
3
votes
1 answer

Android Custom Soft Keyboard with KeyIcon

I needed to use custom numeric soft keyboard. But some part I just can't get it right. I wanted to use a KeyIcon to display the Key instead of using KeyLabel. But once I run it, the result became like the one below. It doesn't match the height and…
IssacZH.
  • 1,457
  • 3
  • 24
  • 54
3
votes
1 answer

Custom keyboard not working in fragment

I have implemented my own custom keyboard in a fragment. The keyboard opens when i click the editText. But all the number keys are not working, some keys like 7, 0 and 8 works onclicking but most of the time it doesn't. keys like enter, right and…
Sheena Tyagi
  • 341
  • 1
  • 4
  • 17
3
votes
0 answers

Cursor issue while creating Custom keyboard with UIView

My requirement was to make a application specific keyboard i.e with a different theme and different key contents as compared to the default keyboard. But the way Apple states to implement keyboard requires user effort to add it through…
manish_kumar
  • 260
  • 2
  • 12
3
votes
0 answers

updateViewConstraints() called twice after screen rotation

I'm implementing custom ios keyboard. I have an issue with updates of keyboard views when rotating screen. The problem is that animation of update is not smooth (view sizes and positions change few times). I think this happens because…
Shyngys Kassymov
  • 718
  • 11
  • 21
3
votes
2 answers

IOS Customkeyboard getting wrong size in Landscape mode

I am working on custom keyboard. all works perfect but when i rotate the keyboard to landscape mode the keyboard load correctly but it takes the height of portrait mode keyboardview. Here is my Try: @interface KeyboardViewController () { CGFloat…
Badal Shah
  • 7,541
  • 2
  • 30
  • 65