How to programmatically add languages to keyboard in ios?

Thanks for this tutorial.

Generally what we are doing is that first add some languages to keyboard by going to settings>general>keyboard settings>add new languages and then we can change keyboard languages from our app by using globe icon. This languages are only those which we have added into our keyboard manually.

Now, I have created one app in swift. In this app there is 10 buttons denoting different languages. On button click, if the language is not added from settings then i want to programmatically add languages into keyboard without going to device’s settings app. Anyone having idea about this, Please?

@ecerney Can you please help with this when you get a chance? Thank you - much appreciated! :]

Hey @vikihacksys, unfortunately that’s not possible. A user must add the language manually in the settings before it will show up in the list of keyboards (globe key). This protects the user from having keyboards added to their device without their consent.

This topic was automatically closed after 166 days. New replies are no longer allowed.