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
60
votes
3 answers

A Swift example of Custom Views for Data Input (custom in-app keyboard)

Goal I want to make a custom keyboard that is only used within my app, not a system keyboard that needs to be installed. What I have read and tried Documentation App Extension Programming Guide: Custom Keyboard Custom Views for Data Input The…
Suragch
  • 484,302
  • 314
  • 1,365
  • 1,393
43
votes
10 answers

How to detect Orientation Change in Custom Keyboard Extension in iOS 8?

In Custom Keyboard Extension , we can't use `didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation` and sharedApplication. I need to detect portrait or landscape in keyboard when rotate. How can i detect when…
Fire Fist
  • 7,032
  • 12
  • 63
  • 109
27
votes
2 answers

How do I implement custom View for keyboard after Keyboard has been deprecated?

I am using latest Android Studio and Kotlin to make a system keyboard for Android (API 100% users). I am trying to follow the IME life cycle. There is this guideline on overriding onCreateInputView() override fun onCreateInputView(): View { …
Seung
  • 763
  • 1
  • 7
  • 19
24
votes
5 answers

How to disable key preview in popup keyboard (not in main softkeyboard layout)?

It's easy to disable key previews: just call setPreviewEnabled(false) and these annoying tiny previews won't show up anymore. But if I attach a popup keyboard to any key then these previews will show up inside that popup: qwerty.xml:
Grrruk
  • 428
  • 3
  • 13
18
votes
2 answers

How to make popup like keyboard characters in iOS8 custom keyboard?

I want to create popup in iOS8 custom keyboard as shown below image. Some code are working but can't access outer window of keyboard and occures issue as shown in below image-2
Scorpian Alive
  • 734
  • 8
  • 21
17
votes
4 answers

How to play keyboard click sound in custom keyboard?

I had created custom keyboard with UIView. However, I didn't hear the click sound of the keyboard. So I tried following code, but I can't hear anything. How can I play that keyboard click sound? NSURL* musicFile = [NSURL fileURLWithPath:[[NSBundle…
Fire Fist
  • 7,032
  • 12
  • 63
  • 109
14
votes
4 answers

PopupWindow getting clipped on custom keyboard for Android API 28

I made a custom keyboard. When you long press a key, a PopupWindow shows some extra choices above the key. The problem is that in API 28, this popup gets clipped (or even completely hidden for the top row). I had solved this problem for API < 28…
Suragch
  • 484,302
  • 314
  • 1,365
  • 1,393
14
votes
1 answer

Is it possible to develop mobile keyboard app in flutter

We want to develop mobile keyboard app - (Third party keyboard) that have some unique features (such translate on the keyboard). We would like to know if there is a way to developed it once both for IOS and Android, with Flutter, or any other…
Pewh Gosh
  • 1,031
  • 1
  • 11
  • 29
14
votes
4 answers

ERROR ITMS-9000: "Invalid architecture: Apps that include an app extension and a framework must support arm64

I want to upload build with Custom keyboard extension on Itunes Connect But when I am going to upload it on Itunes Connect through Application loader its show me following error ERROR ITMS-9000: "Invalid architecture: Apps that include an app…
Shinning River
  • 813
  • 1
  • 10
  • 23
14
votes
2 answers

UITextInputDelegate methods not functioning correctly

I'm working on iOS 8 custom keyboard extension right now, and there are some issues in using UITextInputDelegate Methods. Does this right: selectionWillChange: and selectionDidChange: methods should be called when user long-presses typing area? And…
Tack-Gyu Lee
  • 448
  • 3
  • 11
13
votes
4 answers

Flutter : Keyboard without decimal point

I need a numberInputKeyboard which only has numbers (without decimal symbol). I have tried with keyboardType: TextInputType.numberWithOptions(decimal: false) but still this dosen't help me
Santhosh
  • 203
  • 4
  • 8
12
votes
3 answers

Can't see custom keyboard in Safari of iOS8.1 simulator

After update to Xcode 6.1, I lost my custom keyboard in Safari of iOS8.1 simulator. But it's still come in photo app. Photo app can switch to my custom keyboard, but Safari still display English and Emoji, other system keyboard like Arabic also not…
LE SANG
  • 10,955
  • 7
  • 59
  • 78
11
votes
1 answer

Recognize Speech To Text Swift

Is it possible to recognize speech and then convert it into text with custom keyboard. Like by default message app in iPhone. ScreenShot 1. Default recognize speech in iPhone keyboard. ScreenShot 2. Speech to text Screen Shot Any help would be…
11
votes
4 answers

How to add images as text attachment in Swift using NSAttributedString?

I'm trying to build a custom keyboard for iOS using images which I've put in as buttons. When I press a button, the image linked to the button is put into an attributed string which is loaded into an UiTextView inside the custom keyboard view. That…
knorrhane
  • 111
  • 1
  • 1
  • 5
11
votes
3 answers

iOS 8.3 'UIView-Encapsulated-Layout-Width' in Custom Keyboard

I have implemented a custom keyboard. It works fine on a device which runs iOS 8.2. However, when I run the same code on a device with iOS 8.3 I get the following warnings and the height of the keyboard is not set properly: Probably at least one of…
Neelesh
  • 3,673
  • 8
  • 47
  • 78
1
2 3
47 48