iOS中的Unicode标量 [英] Unicode Scalars in iOS

查看:193
本文介绍了iOS中的Unicode标量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在iOS中创建自定义Unicode标量值或将现有值映射到位图字形?

Is it possible to create a custom Unicode scalar value in iOS or to map an existing value to a bitmap glyph?

我很想知道是否可以创建自定义字符和字符串,如Apple的表情符号。

I'm curious to see if one can create custom characters and strings like Apple's emoji.

推荐答案

根据文档,这是可能的。

let customChar = "\u{5436}"

这篇关于iOS中的Unicode标量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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