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
5
votes
1 answer

How to send an image with custom keyboard iOS

I am building my first custom keyboard. I am using Swift 2 and Xcode 7. I have this as my keyboard (I am running it on my iPhone) When I tap the little alien face, I would like to have either a little emoji with that image or insert the image…
Pranav Wadhwa
  • 7,666
  • 6
  • 39
  • 61
5
votes
1 answer

Custom Keyboard extension with UITextField

I have custom keyboard extension with UITextField in it. I am able switch to UITextField's text input, but cannot switch back to self.textDocumentProxy. Does anybody know, how to do something like [self.textDocumentProxy becomeFirstResponder]? (By…
landonandrey
  • 1,271
  • 1
  • 16
  • 26
5
votes
1 answer

Android: Add imageButton on top of a custom keyboard

I have succesfully implemented a custom keyboard. It is working as it should. I want add an imageButton on the top of the keyboard as shown in below image so that it always shows above the keyboard whenever keyboard pops up. Can anyone guide me how…
user5596252
5
votes
2 answers

IOS Customkeyboard. How to set special character in custom keyboard

I am working on custom keyboard for iphone 6 and 6Plus. I have develop logic for shift key active - inactive or 123 and abc key . but i want to also display custom symbol like apple keyboard shown. please check in image . currently i am able to…
Badal Shah
  • 7,541
  • 2
  • 30
  • 65
5
votes
1 answer

How can we use long press to delete whole words, for custom keyboards in iOS 8?

As we know, the original keyboard in iOS can delete whole words by holding down the delete button (⌫) for an extended period of time. So how can we use the same functionality for custom keyboards in Swift, iOS 8? Note: I'm currently using…
He Yifei 何一非
  • 2,592
  • 4
  • 38
  • 69
5
votes
1 answer

Android handle 'search' button press on custom keyboard

I'am developing my own custom keyboard. How to handle 'search' button press in case if our keyboard opened with IME_ACTION_SEARCH parameter? I have following code, but unfortunately in search case it's not working. In regular situation with Done…
Andrey
  • 2,659
  • 4
  • 29
  • 54
5
votes
2 answers

iOS: Custom keyboard: I want to send images to the textDocumentProxy(Input controls)

I am implementing custom keyboard with only images and wanted to send images to textDocumentProxy/input controls like textview on click of image but not get over it. so far I am able to send text/string to input controls but not images. Is it…
Ajay Gabani
  • 1,168
  • 22
  • 38
5
votes
2 answers

How do I send audio file send via iMessage ios 8

As we know with the launch of ios 8 the apple allow custom Keyboard extension.In keyboard extension we can send images,gif etc in SMS by using Copy image to clipboard.code UIPasteboard *pasteboard = [UIPasteboard generalPasteboard]; NSData *data=…
jamil
  • 2,419
  • 3
  • 37
  • 64
5
votes
1 answer

How can I add a Number and Decimal keyboard into my Custom Keyboard on iOS8?

I created a custom keyboard in Swift but it was rejected from the App Store because: "keyboard extension does not include Number and Decimal types". How can I add these two keyboards easily? I tried to rebuild the original view but it doesn't work…
ababab5
  • 284
  • 4
  • 14
5
votes
4 answers

ios 8 custom keyboard hold button to delete?

I am currently building a custom keyboard and I am almost done. One problem that I have is with the delete button. When the user taps the delete button, it does what it should do and deletes the previous text entry. However when the user holds the…
5
votes
1 answer

Dismiss keyboard in custom keyboard ios8 not working

I'm having some trouble with the custom keyboard extension in ios8 with the dismiss keyboard method. I'm calling it with : [self dismissKeyboard]; It compiles OK, but when I press my dismiss button it crashes and open the normal keyboard. In the…
Juan Giorello
  • 333
  • 2
  • 13
5
votes
1 answer

Recognize the Host App in an iOS8 Custom Keyboard

How do I recognize in which host app my keyboard is running? Basically, I want to change some things in my custom keyboard in specific apps Maybe I can customize the keyboard traits to my use? Thanks
nurnachman
  • 4,468
  • 2
  • 37
  • 40
4
votes
2 answers

How do I add a custom button to the SystemKeyboard provided in the KeyboardKit library?

What I want to do is to replace the AutocompleteToolbar area of the keyboard with a custom button of my choice. The KeyboardKit library provides a SystemKeyboard that mimics the default iOS keyboard. I've tried reading the documentation provided…
4
votes
1 answer

When mapping a keyboard... What are "dead keys", "terminators", and "states"?

After reading the Ukelele keyboard manual (http://iran.clubmgenretraites.paris/Logiciels/Emul/8-16Bits/ZX&Cie/Mac/Spectrum&Cie/Ukulele/Ukelele%20Manual%202.2.pdf) & reading through many Github & StackOverflow posts on the topic, I still don't…
13e
  • 41
  • 1
4
votes
1 answer

Adding * and # key to the soft keyboard

1) PROBLEM: I have an EditText in which the user has to enter USSD code. Problem is, for entering USSD code the user has to switch to symbol keyboard (two to three times) which creates a very bad user experience. USSD Code Examples: *345*77#,…