How to use flat emojicons with iOS

好久不见. 提交于 2019-12-14 03:48:17

问题


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?


回答1:


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]



来源:https://stackoverflow.com/questions/34577378/how-to-use-flat-emojicons-with-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!