Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the advanced-cron-manager domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /www/wwwroot/www.help4uu.com/wp-includes/functions.php on line 6121
苹果揭秘iOS 18定制Emoji功能Genmoji:引入新API,可在任意富文本中使用 | 科技云

苹果揭秘iOS 18定制Emoji功能Genmoji:引入新API,可在任意富文本中使用

IT之家 6 月 15 日消息,苹果公司在 iOS 18 系统中引入了全新的 Genmoji 功能,可以让用户定制创建 Emoji。

苹果揭秘iOS 18定制Emoji功能Genmoji:引入新API,可在任意富文本中使用

在 WWDC 2024 全球开发者中的一项 Session 活动中,苹果公司揭开了 Genmoji 背后的秘密。

苹果公司为 Genmoji、贴纸和 Memoji 等其他图像设计了一个 NSAdaptiveImageGlyph API,开发者和用户调用这个 API 生成的内容会接近于 Emoji。

该 API 采用标准图像格式,长宽比为正方形,支持多种分辨率,并添加了元数据。这种设置意味着 Genmoji 和其他使用 NSAdaptiveImageGlyph 的内容一样,可以与普通文本一起使用和格式化。

Genmoji 可以单独使用,也可以复制、粘贴和作为贴纸发送。它们可以与文本并行使用,并尊重行高和文本格式。据苹果公司称,任何可以支持富文本的地方都可以支持 Genmoji。

苹果揭秘iOS 18定制Emoji功能Genmoji:引入新API,可在任意富文本中使用

Genmoji 并非 Unicode,可能不适合用于某些数据,如标识符、电话号码、电子邮件地址,也不会像 emoji 那样得到广泛支持。以前版本的 iOS、iPadOS 和 macOS 以及不支持富文本的应用程序将用文本描述来表示 Genmoji。

IT之家注:Genmoji 等 Apple Intelligence 功能尚未出现在 iOS 18 开发者测试版中,但苹果计划让开发者在今年夏天的某个时候开始测试 Apple Intelligence。

Genmoji 和 Apple Intelligence 将于今年秋季向公众开放,但仅限于 iPhone 15 Pro 机型以及配备 M 系列芯片的 iPad 和 Mac。

文章来源于互联网:凤凰网-苹果揭秘iOS 18定制Emoji功能Genmoji:引入新API,可在任意富文本中使用

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注