iOS Keyboard Customization - ios

Hi Im asking if there is a way that let me force the user to use only one keyboard even if the user had more then two or three languages in his system keyboard, for an example i want my user when he open the app he will find the english keyboard only and not be able to switch it to another language ? in Swift 2.0 xcode 7

Related

iOS - How to make custom keyboard extension work with physical keyboard

I have had this question for a long time and I tried to search it in iOS 10 APIs but I couldn't find any, if anyone knows the corresponding APIs, please help here.
So I have an iOS custom keyboard for Mandarin and it requires selecting word after some inputs.
Google's custom keyboard GBoard now supports Simplified Chinese and it works with iPad Pro Smart Keyboard and it will display a list of candidate words right below the cursor as shown in this video.
GBoard Simplified Chinese Input
But I couldn't find the corresponding API to make this happen for my own custom keyboard extension.
So 2 questions here:
Is it doable now to make a custom keyboard extension work for external physical bluetooth keyboard, and how? Not iPad Pro Smart Keyboard but generally using Apple bluetooth keyboard with say an iPad Air.
If #1 it not doable now, how can I make my custom keyboard work like GBoard so that when the user types some english chars, the candidate list will appear right below the cursor and then use arrow keys to navigate and enter to input.
Much appreciated.

Presenting just a subset of emojis on the keyboard on iOS apps

I am making an app where I use the "People" emojis as avatar faces and the "Food and drink" emojis for, well, food and drink icons. I would like to use the regular keyboard for presenting the emojis for user input, but I would like to present only these two categories of emojis (and even so, each category would be presented in a different context).
I am working with iOS 8, Xcode 6.3 and Swift.
Can I configure the regular keyboard so that it only shows a subset of emojis which I define?
If not, can I create a new custom keyboard preserving everything from the original Apple keyboard but limiting the subset of characters? Any pointers on how to do this?
Thanks.
You can not configure the regular keyboard so that it only shows a subset of emojis. But yes can make your own custom keyboard.
You can find some really good posts about how to make the custom keyboards:
http://verisage.us/en/blog/2014/07/17/ios-8-custom-keyboard-swift-tutorial/
http://code.tutsplus.com/tutorials/ios-8-creating-a-custom-keyboard-in-swift--cms-22344
Also I found this FaceBoardPlus sample: http://code4app.net/ios/FaceBoardPlus/52a9ba56cb7e841e178b69d0 which is exactly what you are looking for but written in objective c.
EDIT: From iOS developer library:
After a user chooses a custom keyboard, it becomes the keyboard for
every app the user opens. For this reason, a keyboard you create must,
at minimum, provide certain base features. Most important, your
keyboard must allow the user to switch to another keyboard.
To provide a fully custom keyboard for just your app or to supplement
the system keyboard with custom keys in just your app, the iOS SDK
provides other, better options. Read about custom input views and
input accessory views in Custom Views for Data Input in Text
Programming Guide for iOS.

How to lock keyboard to Simplified Chinese Handwriting?

I want to lock my keyboard to just simplified chinese handwriting. How do I do this?
The problem is that I am trying to create a Chinese quiz app in Xcode 6 using swift and I want the quiz-takers to write in the character to match the English word using a chinese handwriting keyboard. I do not know how to program this and other questions asked like this do not seem to yield a useful result for me.
You can't lock the keyboard unless you present your own custom keyboard. Once again, you have to take into account those with physical keyboards as well (who can bypass your custom keyboard).
A good recommendation is to use a custom handwriting recogniser that links to a label (to prevent keyboard intervention).

iOS Airprint without displaying popover dialogue box

I am developing an app that needs to be able to print out name labels after a user finishes a registration process. It needs to do this without displaying a popover which is automatically created when using UIPrintInteractionController.
I know other apps have approaches where they print directly after the user touches a print button that is placed in the view controller. Fx the iPrint&Label app by Brother.
How can I create a similar button that allows the application to print automatically without displaying the popover dialogue box?
p.s The application doesn't have to be app store clean, the final application will only be installed on two specific iPads.
p.p.s this is my first entry on stackoverflow, I hope I'm not being to much of a newbie :-)
It is possible on iOS 8 and newer - use printToPrinter:
Docs here: https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIPrintInteractionController_Class/index.html#//apple_ref/doc/uid/TP40010141-CH1-SW34

IOS keyboard different language than IOS language

Currently I'm working on a Phonegap project which is in Dutch (dit not define a language in the App yet), also the OS is in Dutch.
Now my problem. When I open the keyboard or the camera I see a Done, Prev, Next button in English. Which should be in Dutch.
I have read multiple posts about the CFBundleAllowMixedLocalizations var, but don't know how to add this property in the info tab of my project. And will this solve my issue?
Also I have read that you can add a Language file, but I just want to have the IOS language inside this buttons. Any way to do this?

Resources