iTz Sillohsk8
iTz Sillohsk8

Reputation: 193

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.

Upvotes: 4

Views: 15525

Answers (2)

notnoop
notnoop

Reputation: 59299

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];

Upvotes: 21

Related Questions