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?
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.
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With