xcode 制作表情符号应用
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1225514/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Making An Emoji Enabeling App
提问by iTz Sillohsk8
I know they sell a lot of apps in the app store that claim to "unlock" emoji keyboards. Do you know how I would go about doing this? I want to made an app that enables emoji keyboards. I have payed the 100 dollar developers license fee if this makes a difference. Thanks!
我知道他们在应用商店中出售了很多声称可以“解锁”表情符号键盘的应用。你知道我会怎么做吗?我想制作一个支持表情符号键盘的应用程序。如果这有所作为,我已经支付了 100 美元的开发人员许可费。谢谢!
回答by notnoop
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];
回答by Lounges
http://arstechnica.com/apple/news/2009/02/freemoji-access-emoji-for-free.ars
http://arstechnica.com/apple/news/2009/02/freemoji-access-emoji-for-free.ars
Not a very tough google search actually...
实际上并不是一个非常艰难的谷歌搜索......