Questions tagged [ios-keyboard-extension]

Custom keyboards are App Extensions that can run system-wide in iOS 8 and up.

A custom keyboard replaces the system keyboard for users who want capabilities such as a novel text input method or the ability to enter text in a language not otherwise supported in iOS. The essential function of a custom keyboard is simple: Respond to taps, gestures, or other input events and provide text, in the form of an unattributed NSString object, at the text insertion point of the current text input object.

Before iOS 8, developers are able to provide custom keyboards with custom keys within their application only. With iOS 8, Apple has made it possible to create custom keyboards that will be able to be used system wide in other apps. Now it is possible to ship a custom keyboard with iOS app and users will be able to choose it as the keyboard to use for every app that requires text input.

Source

Apple App Extension Programming Guide: Custom Keyboard

177 questions
0
votes
2 answers

How to get size of default keyboard for current device without it being displayed?

I am working on custom keyboard extenssion for iOS. The keyboard's size should match that of default system keybaord on each device. For purposes of accompanied app I need to know what is the size of default system keyboard (in portrait and…
Rasto
  • 17,000
  • 40
  • 141
  • 232
0
votes
2 answers

Will files copied to the Document folder of an extension be backup by default on iPhone?

I am writing a keyboard extension for iOS 8. A sqlite database is copied from the bundle to the Document folder when the keyboard is started for the first time (not previous copy of the file exists): NSString *docPath =…
ohho
  • 47,708
  • 70
  • 236
  • 372
0
votes
2 answers

Is it possible to enable a custom keyboard in-app without a keyboard extension in iOS?

I've built a custom keyboard extension for iOS and I want the user to be able to try it out within the hosting app to see if they like it before buying. It should work out of the box without the need to add the keyboard in Settings. Is this…
0
votes
2 answers

is it mandatory to make Universal App for Keyboard Extension in IOS?

I have developed a keyboard extension for iphone and submitted to Appstore. But it got rejected due to- 2.10: iPhone Apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution. Do I need to make universal…
0
votes
1 answer

iOS custom keyboard template background colour as image

I want to change the custom keyboard template background colour.The default colour is grey. am trying to supply an image for its background but it is still showing grey.Below is the code I tried self.view.opaque = YES; …
rootcoder
  • 177
  • 1
  • 11
0
votes
0 answers

Disable iPhone auto lock from iOS 8 custom keyboard

Is there a way to disable the auto screen lock from an iOS8 custom keyboard? [UIApplication sharedApplication].idleTimerDisabled = YES; is not supported in App Extensions.
flopr
  • 450
  • 4
  • 22
0
votes
1 answer

How to increase keyboard height like SwiftKey?

The height of a typical keyboard extension in iOS 8 is like the ELDeveloperKeyboard at right . How to increase the height of the keyboard similar to Swiftkey at left?
ohho
  • 47,708
  • 70
  • 236
  • 372
0
votes
1 answer

UILexicon iOS 8 is not working as expected

I am using UILexicon for the suggestions in custom keyboard. Following is code: -(void) keyTapped:(UIButton*)button { [self requestSupplementaryLexiconWithCompletion:^(UILexicon *lexicon){ // self.lexicon = lexicon; …
Sukhpal Singh
  • 614
  • 1
  • 12
  • 28
0
votes
2 answers

Playing system click sound in iOS keyboard extension

I have followed the instructions on both these links: How to play keyboard click sound in custom keyboard? https://developer.apple.com/library/ios/documentation/StringsTextFonts/Conceptual/TextAndWebiPhoneOS/InputViews/InputViews.html and done the…
user906357
  • 3,873
  • 6
  • 23
  • 35
-1
votes
1 answer

What’s the approved way to detect an incoming phone call from an iOS keyboard extension?

How can I detect from an iOS Keyboard Extension if the keyboard is interrupted, for example an incoming phone call. I have added observers for applicationWillResignActive and applicationDidBecomeActive in UIInputViewController's viewDidLoad. I have…
-1
votes
1 answer

Url image is displaying in simulator but not in iPhone

I am creating a keyboard Extension app. I want to display images in my custom Keyboard, but it is returning me below error Code=-1003 "A server with the specified hostname could not be found." but when I runs it in simulator it shows me images,…
Imran Aftab
  • 43
  • 1
  • 1
  • 8
-2
votes
1 answer

Keyboard extension size

I'm making a new iOS custom keyboard and nearly finished with it. But now I got a little problem with the size of the whole keyboard. The keyboard takes half of the whole screen and doesn't have the size of of the normal iOS keyboard. Do you know…
paro
  • 217
  • 3
  • 8
1 2 3
11
12