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
2 answers

How to open general settings (not in the app settings) from the app in iOS 8?

I know about this if (&UIApplicationOpenSettingsURLString != NULL) { NSURL *appSettings = [NSURL URLWithString:UIApplicationOpenSettingsURLString]; [[UIApplication sharedApplication] openURL:appSettings]; } But I wanna know if its…
vatti
  • 463
  • 7
  • 16
3
votes
1 answer

Text Changing animation same like as ios 8 keyboard text prediction

I am developing app for custom keyboard. I want to add the predication with the animation as apple provide.(Check this GIF image) In this image you can see the animation happening while word change from "Include -> Instead -> Instantly -> Install…
Crazy Developer
  • 3,464
  • 3
  • 28
  • 62
3
votes
1 answer

How to change action key of android custom keyboard according to the text field?

I'm developing an android keyboard. I'm trying to use this method to change my custom keyboard action key, according to the text field that user selected. But this method is not working. Has there been any other way to change the action key? public…
Arvin Jayanake
  • 1,475
  • 3
  • 14
  • 26
3
votes
1 answer

Custom Keyboard: How to Paste Image from pasteboard into messages.app MMS ios8

Custom Keyboard for iOS 8. Created the keyboard Target in Swift. Runs fine on device. I copy an image to the Pasteboard like this: let image = UIImage(named: "myImage.png") UIPasteboard.generalPasteboard().image = image; I have verified that image…
Chris Johnson
  • 189
  • 2
  • 12
3
votes
1 answer

When making a custom iOS keyboard extension, how can I create a button that has the same functionality as Apple's original backspace key?

I am making a customKeyboard which have delete button for delete a text and code for that is: func addDelete() { deleteButton = UIButton.buttonWithType(.System) as UIButton deleteButton.setTitle(" Delete ", forState: .Normal) …
Dharmesh Kheni
  • 71,228
  • 33
  • 160
  • 165
3
votes
0 answers

Resize layout when appears custom keyboard

I implemented a custom keyboard in my app according this tutorial (http://www.fampennings.nl/maarten/android/09keyboard/index.htm) and I'm having some layout problems with the keyboard. When I use the soft keyboard the content layout scrolls up and…
Truck
  • 53
  • 1
  • 4
3
votes
1 answer

Mobile analytics tracking between custom keyboard + companion app

Is there a mobile analytics library for iOS that supports being used in a custom keyboard extension out of the box? Many I have looked at so far reference [UIApplication sharedApplication] which is not available in application extensions, or the…
barfoon
  • 27,481
  • 26
  • 92
  • 138
3
votes
1 answer

iOS Custom Keyboard Autolayout

What constraints should I add in Interface Builder to a custom keyboard to act exactly like built in one when the user changes orientation like in the images below (All the buttons stretch horizontally and shrink vertically with equal spaces between…
3
votes
2 answers

iOS 8 Custom Keyboard: Changing the height without warning 'Unable to simultaneously satisfy constraints...'

There are several SO answers about how to change Custom Keyboard height. Some of them work for example here but those that work lead to constrains conflict error printed to console output: Unable to simultaneously satisfy constraints... Will…
Rasto
  • 17,204
  • 47
  • 154
  • 245
3
votes
0 answers

How to init a UICollectionView and then add layout constraint to it

I have noticed that there is only one method to init a UICollectionView: - (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout But right now, I want to use auto layout to position this…
yong ho
  • 3,892
  • 9
  • 40
  • 81
3
votes
0 answers

iOS 8 Custom Keyboard Extension crashing in Adhoc Provisioning Profiles

I had made a Custom Keyboard Extension for iOS 8 its working fine on Development Provisioning Profiles but crashes in Adhoc Provisioning Profiles. Help me out to solve this issue. Incident Identifier:…
Rachit
  • 814
  • 9
  • 19
3
votes
0 answers

IME options not working for Custom edittext

Here i create a custom edittext using the following code. Now i face a strange problem,when i try to put IME option to overide the enter button and change its functionality to send, i cant achieve that option. Somebody please help me with this.…
Ranjith
  • 343
  • 1
  • 4
  • 17
3
votes
1 answer

Using UITextField inside a keyboard app extension

I added textfield (keyboardTextField) on top of my custom keyboard. I can select it and enter some text (using my custom keyboard). But it's impossible for me to select the input view of the main app back. This line of code [keyboardTextField…
3
votes
2 answers

Communicate with Custom Keyboard extension with Host App not working in device but works in simulator

I am working with custom keyboard extension. that almost done but i just facing issue with device when i communicate data with extension and my host app that not woking in device but same thing this working in simulator. My code is…
Nitin Gohel
  • 49,482
  • 17
  • 105
  • 144
3
votes
2 answers

Determine if the user added a Custom Keyboard to the keyboards list. iOS 8, Extension

Is there any way to determine from the containing app if the user added a custom keyboard to the keyboards list. For example, this approach uses the Fleksy and Swype apps. When the app opened from a background it knows whether the keyboard added to…