Search code examples
iphonexcodeipod-touch

Making an emoji-enabeling app for the iPhone


I know they sell a lot of apps in the App Store that claim to "unlock" emoji keyboards. How would I go about doing this?

I want to made an app that enables emoji keyboards. I have paid the 100 dollar developers license fee if this makes a difference.


Solution

  • Based on one of the samples provided in the links above you can do the following:

    NSString *path = [NSHomeDirectory() stringByAppendingPathComponent:
                      @"../../Library/Preferences/com.apple.Preferences.plist"];
    NSMutableDictionary *dict =
        [NSMutableDictionary dictionaryWithContentsOfFile:path];
    [dict setObject:[NSNumber numberWithBool:YES] forKey:@"KeyboardEmojiEverywhere"];
    [dict writeToFile:path atomically:NO];