在iOS6之前,我使用AppleKeyboards获取用户的键盘设置:
NSArray * keyboards = [[NSUserDefaults standardUserDefaults] objectForKey:@"AppleKeyboards"];
for (int i = 0; i < [keyboards count]; i++)
{
NSLog(@"%@", [keyboards objectAtIndex:i]);
}但是在iOS6之后,我不能使用AppleKeyboards作为用户设置的键。对此有什么解决方案吗?谢谢!
发布于 2012-10-11 22:12:03
你可以通过"+ (UITextInputMode *)currentInputMode“使用UITextInputMode类来获取当前的文本输入模式。
https://stackoverflow.com/questions/12816325
复制相似问题