How to know if two emojis will be displayed as one emoji?

前端 未结 1 1597
春和景丽
春和景丽 2020-11-27 05:57

The emoji

1条回答
  •  抹茶落季
    2020-11-27 06:31

    Update for Swift 4 (Xcode 9)

    As of Swift 4, a "Emoji sequence" is treated as a single grapheme cluster (according to the Unicode 9 standard):

    let s = "a

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