将笑脸图标显示到uitextfield中 [英] show smiley icons into an uitextfield
本文介绍了将笑脸图标显示到uitextfield中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在点击按钮时显示情感图标/笑脸图标列表。在选择任何一个时,我希望将该图标放在我的uitextview上。
是否有与iPhone应用程序有关的选项,如果没有,是否需要更多时间才能获得它/ p>
请让我知道并谢谢
解决方案
拿一个 UIImage
看起来像 UITextField
并将其设置在 UILabel
背景图片上。选择表情符号后,将其放在 UILabel
上。希望对你有帮助。
I would like to show list of emotion icons / smiley icons when tap of a button. on selecting any, i want that icon to placed on my uitextview.
Is there any options to do with iPhone app , if not will it require more time to get it
Please let me know and thanks
解决方案
Take one UIImage
that looks like UITextField
and set it on the UILabel
background image. Once the emoticon is selected, put it on the UILabel
. Hope that would help you.
这篇关于将笑脸图标显示到uitextfield中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文