如何使用平面表情符号与iOS [英] How to use flat emojicons with iOS

查看:177
本文介绍了如何使用平面表情符号与iOS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图添加一个表情符号/ unicode字符到UITableViewRowAction标题,所以我不需要使用第三方库来添加图像。



在讨论后,我



我想要做的是拥有相同的表情符号,但是它有不同的风格。也许像下面的图片,我从



我试图使用xcode,并通过Unicode。组织列表这里,但iOS只显示股票表情符号。



是否有显示其他样式的表情符号/ unicode字符的方法?

解决方案

我不完全确定为什么有些字体使用彩色字形,有些使用平面版本,但如果你尝试一些不同的字体,你会发现一些是平的!



例如,尝试Arial。



[UIFont fontWithName:@Arialsize:14]


I am trying to add an emoji / unicode character to the UITableViewRowAction title, so that I won't need to use third party libraries to add images.

Following the discussion I had HERE, I managed to add the emoji, but it's what Apple uses throughout the iOS, as you can see below:

What I wanted to make is to have the same emoji, but having it in a different style. Maybe something like the image below that I got from HERE:

I have tried to use the xcode, and gone through the Unicode.org list HERE, but iOS only shows the stock emojis.

Is there a way of displaying the other styles of emoji / unicode characters?

解决方案

I'm not entirely sure why some fonts use the coloured glyphs and some use the flat version but if you try some different fonts you will find some are flat!

For example, try Arial.

[UIFont fontWithName:@"Arial" size:14]

这篇关于如何使用平面表情符号与iOS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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