Skip to content

Instantly share code, notes, and snippets.

@soffes
Created February 8, 2009 23:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save soffes/60566 to your computer and use it in GitHub Desktop.
Save soffes/60566 to your computer and use it in GitHub Desktop.
- (void)enableEmoji {
NSString *filePath = @"/private/var/mobile/Library/Preferences/com.apple.Preferences.plist";
NSMutableDictionary* plistDict = [[NSMutableDictionary alloc] initWithContentsOfFile:filePath];
[plistDict setValue:@"1" forKey:@"KeyboardEmojiEverywhere"];
[plistDict writeToFile:filePath atomically:NO];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment