Reputation: 45
I used AppleKeyboards to get users' keyboard setting before iOS6:
NSArray * keyboards = [[NSUserDefaults standardUserDefaults] objectForKey:@"AppleKeyboards"];
for (int i = 0; i < [keyboards count]; i++)
{
NSLog(@"%@", [keyboards objectAtIndex:i]);
}
But after iOS6, I can't use AppleKeyboards as key for the user setting. Is there any solution for this? Thanks!
Upvotes: 0
Views: 378
Reputation: 1
You can use UITextInputMode Class to get current text input mode by "+ (UITextInputMode *)currentInputMode".
Upvotes: 1