How to use flat emojicons with iOS

2019-06-25 05:43发布

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:

The actual UITableViewRowAction screenshot

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:

Flat style emoji

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?

1条回答
看我几分像从前
2楼-- · 2019-06-25 06:19

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]

查看更多
登录 后发表回答