如何在Interface Builder中的UILabel中输入unicode字符? [英] How to enter unicode characters in a UILabel in Interface Builder?

查看:116
本文介绍了如何在Interface Builder中的UILabel中输入unicode字符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在标签中显示一个unicode字符(扬声器符号U + 1F50A)。
是否可以在Interface Builder中输入此符号?

I would like to display a unicode character (the speaker symbol U+1F50A) in label. Is it possible to enter this symbol in Interface Builder?

推荐答案

是的,您可以点击编辑 - > 特殊字符... - 在那里你可以找到所有unicode字符(包括表情符号)并将它们复制/粘贴到你设置的地方 InterfaceBuilder 中的标签文字。

Yes, you can click Edit->Special Characters... - there you can find all unicode characters (including the emoji) and copy/paste them where you set the label text in the InterfaceBuilder.

编辑
截至Xcode6它是编辑>表情符号&字符

这篇关于如何在Interface Builder中的UILabel中输入unicode字符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆