Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom Keyboard in iOS 8

iOS 8 lets us create our own custom keyboards. Is it possible to make a custom keyboard output anything other than unattributed NSStrings?

Can I make a keyboard that outputs images to say the Messages app, or is it impossible?

like image 629
Simen Øian Gjermundsen Avatar asked Jun 04 '14 11:06

Simen Øian Gjermundsen


People also ask

How do I customize my keyboard on my iPhone 8?

Navigate to Settings > General > Keyboard > Keyboards > Add New Keyboard and select AC Custom Keyboard. This will add it to the list of available keyboards. Go back to your app and bring up the keyboard by tapping the text view. Tap and hold the globe key and select AC Keyboard from the list that pops up.

Does iOS have custom keyboard?

For everything from languages to GIFs. Your iPhone background and lock screen aren't the only things you can customize on the Apple handset. The digital keyboard you use for typing can transform from the drab QWERTY layout into a portal for typing in French, Chinese, Portuguese, and most of the world's languages.

Can you use custom keyboards with iPad?

Open the Settings app. Choose General > Keyboard > Keyboards > Add New Keyboard > TextExpander (under Third-Party Keyboards). Toggle on one of the supported language keyboards. Once the keyboard has been added, choose Done.


1 Answers

No, this would be too difficult since most UITextField / UITextView can only handle NSString object.

As described in the UITextDocumentProxy only NSStrings are allowed.

UITextDocumentProxy is the communication object used by UIInputViewController. UIInputViewController seems to be the base for creating custom keyboards.

Also have a look at App Extension Programming Guide - Custom Keyboard

like image 127
rckoenes Avatar answered Oct 09 '22 21:10

rckoenes