I enabled Emoji Keyboard in an iOS 5.0 device by using this code:
NSMutableDictionary *dict = [NSMutableDictionary dictionaryWithContentsOfFile:@"/private/var/mobile/Library/Preferences/com.apple.Preferences.plist"];
[dict setObject:[NSNumber numberWithBool:YES] forKey:@"KeyboardEmojiEverywhere"];
[dict writeToFile:PREFS_FILE atomically:NO];
It worked great, and I was able to see an option for Emoji keyboard in the Settings ->General -> Keyboard -> International keyboards ->Add New Keyboard
But now, I want to remove the Emoji keyboard from International Keyboards list, as it was before. For this, I did:
[dict removeObjectForKey:@"KeyboardEmojiEverywhere"];
But the Emoji Keyboard is still visible, I am not able to get it to disappear.
Any thoughts?
You don’t remove the key, you set it to NO: