gpt4 book ai didi

ios - 在 CATextLayer 中格式化不同的特定字母?

转载 作者:行者123 更新时间:2023-11-28 23:16:09 25 4
gpt4 key购买 nike

这可能吗?

如果不使用 CATextLAyer,那我该怎么做呢?

最佳答案

您可以在 CATextLayer 中使用 NSMutableAttributedString。您可以为字符串的不同部分指定不同的属性,如颜色、字体。

关于ios - 在 CATextLayer 中格式化不同的特定字母?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6291360/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com