Reputation: 827
Is there a way to check if the iphone keyboard is currently in Japanese vs English input mode?
I would just check the Unicode characters but the numpad on the Japanese keyboard sends regular ASCII characters I think...
Upvotes: 0
Views: 1089
Reputation: 32336
If you dive into the private API you can determine the currently active input manager:
NSLog(@"Active Input Manager: %@", [[objc_getClass("UIKeyboardInputManager") activeInstance] class]);
Upvotes: 2
Reputation: 22405
There is not way to check what keyboard is being displayed, the best you can do is either display a alert to user telling him he must use japanesee keyboard or make your own keyboard and push that in there.
Upvotes: 1