在哪里可以找到“可自动替换”的列表? iOS特殊字符?
在标签等中使用的一些特殊字符(例如⬇)会自动替换为图像。
我在哪里可以找到此类替代品的完整列表?
预先感谢
更新:我知道我可以简单地复制粘贴很多特殊字符来定义什么是魔法字符,但我很有趣这个魔法是否记录在任何地方?
证明:
来源:
UILabel *lbl = [[[UILabel alloc] initWithFrame:CGRectMake(50, 200, 220, 25)] autorelease];
lbl.text = @"Did you see that? ⬇";
[self.view addSubview:lbl];
结果:
Several special characters (⬇, for example) when being used in labels, etc are replaced with images automatically.
Where can I find the complete list of such replacements?
Thanks in advance
UPDATE: I know that I can simply copy-paste a lot of special characters to define what are the magic ones but I am interesting whether this magic is documented anywhere?
PROOF:
Source:
UILabel *lbl = [[[UILabel alloc] initWithFrame:CGRectMake(50, 200, 220, 25)] autorelease];
lbl.text = @"Did you see that? ⬇";
[self.view addSubview:lbl];
Result:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知,“图像”实际上是一个表情符号图标。 iPhone 使用 Softbanks 表情符号编码范围,因此这里是这些表情符号列表图标及其各自的代码。
另请参阅此问题了解如何使用这些字符代码。
As far as I can tell, the "image" is actually an emoji icon. The iphone uses softbanks emoji encoding ranges, so here is the list of those emoji icons and their respective codes.
Also see this question on how to put those charcodes into use.