Question

I was able to retrieve the list of installed keyboards through NSUserDefaults and AppleKeyboards, but I wasn't able to find out which one is the current user selected. Anyway to do so programmatically?

Was it helpful?

Solution

Try using this:

[UITextInputMode currentInputMode].primaryLanguage

If you use NSLog, you will see something like fr-FR, pt-BR etc...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top