AppleKeyboards on iOS6

I used AppleKeyboards to configure the user keyboard 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 a customization key. Is there a solution for this? Thanks!

0
source share
1 answer

You can use the UITextInputMode Class to get the current text input mode with "+ (UITextInputMode *) currentInputMode".

see also: https://developer.apple.com/library/ios/#documentation/UIKit/Reference/UITextInputMode_Class/Reference/Reference.html

+1
source

Source: https://habr.com/ru/post/1469383/


All Articles