iOS 8.3 Mobile Safari disable emoji rendering

后端 未结 1 1388
暗喜
暗喜 2021-02-15 12:03

Apple released iOS 8.3 recently. They added a lot more Emojis and all of them are rendered in mobile safari now. For Example ▶ will be rendered to an emoji icon. is there a way

1条回答
  •  天命终不由人
    2021-02-15 12:11

    Yes you can disable these on a character by character basis by using the proper variant glyph.

    The following example will render the black right pointing triangle as emoji as no variant is specified.

    However, if you specify the proper variant glyph you'll get the text.

    ▶︎
    

    Generally speaking, gets you the text version and or not otherwise specified gets you the emoji version.

    See http://anthonyticknor.com/demos/emoji/ for an example in practice for the left arrow and the black heavy heart. I picked up most of what I did there from http://mts.io/2015/04/21/unicode-symbol-render-text-emoji/

    0 讨论(0)
提交回复
热议问题