xcode IOS 5 - 自定义表情符号

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6662307/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 21:27:50  来源:igfitidea点击:

IOS 5 - CUSTOM EMOJI ICONS

iphoneiosxcodecocoa-touchios5

提问by Appelton

As we all know IOS 5 is gonna bring us emoji keyboard for everyone.

众所周知,IOS 5 将为每个人带来表情符号键盘。

  1. My question is if there is any way to create an app that would install new custom made emoji icons?

  2. Or is there a way to create totally new custom emoji keyboard so it can later be chosen from INTERNATIONAL KEYBOARD SETTINGS.

  1. 我的问题是,是否有任何方法可以创建一个可以安装新的自定义表情符号图标的应用程序?

  2. 或者有没有办法创建全新的自定义表情符号键盘,以便以后可以从国际键盘设置中进行选择。

Any tips? Or sample source codes?

有小费吗?或者示例源代码?

回答by Fabio Poloni

Don't know if I'm right but the Emoji-Icons were created and added by Apple. These "Emoji-Apps" just activate the Emojis for you.

不知道我是否正确,但 Emoji-Icons 是由 Apple 创建和添加的。这些“表情符号应用程序”只是为您激活表情符号。

So it isn't and won't be possible to add new Emojis in iOS 5 or earlier. And as Sum already said, iOS 5 is still under NDA and StackOverflow disallow discussions about this.

因此,在 iOS 5 或更早版本中,不可能也不可能添加新的表情符号。正如 Sum 已经说过的,iOS 5 仍在保密协议之下,StackOverflow 禁止对此进行讨论。

回答by Cyrille

There's no way to do that, keyboards are buried deep into UIKit and you have no official means of modifying them without resorting to jailbreaking.

没有办法做到这一点,键盘被深深地埋在 UIKit 中,你没有官方的方法来修改它们而不诉诸越狱。

回答by Sum

This is not possible within documented functions. You'd need to jailbreak to modify keyboards. Enabling a keyboard that was always there was easy. Adding custom keys? Not really do-able without a jailbreak. iOS 5 is under nda so you can't discuss it here

这在文档化的功能中是不可能的。您需要越狱才能修改键盘。启用一直在那里的键盘很容易。添加自定义键?没有越狱就不能真正做到。iOS 5 在保密协议之下,所以你不能在这里讨论它

回答by Remy Vanherweghem

The emoji keyboard (on iOS 5 [which we can't discuss here] and previous versions) is not available to customize (like other iOS keyboard) through the official SDK.

表情符号键盘(在 iOS 5 [我们不能在这里讨论] 和以前的版本)不能通过官方 SDK 自定义(像其他 iOS 键盘一样)。

Not only that, but emoji is now a standardized part of Unicode, and therefore your could customize their look, but not much more: an apple should have to stay an apple.

不仅如此,表情符号现在是 Unicode 的标准化部分,因此您可以自定义它们的外观,但仅此而已:苹果必须保持苹果。

Depending of the kind of communication your looking to accomplish, you'll have to resort to your own custom way to insert smileys and icons in your text.

根据您希望完成的通信类型,您必须采用自己的自定义方式在文本中插入笑脸和图标。

回答by Ricky Umlas

No you cannot add the emoji in IOS same thing with Android.

不,您不能在与 Android 相同的 IOS 中添加表情符号。

But my suggestion is to add new emojis by copying and pasting the image just like what KIMOJI used.

但我的建议是通过复制和粘贴图像来添加新的表情符号,就像 KIMOJI 使用的那样。