有没有办法在iOS中的单个标签中使用两种甚至三种字体颜色?
如果用"你好,你好吗"这个文字作为一个例子,那么"你好"会是蓝色的,"你好吗"会是绿色的吗?
这有可能,它似乎比创建多个标签更容易吗?
textcolor nsattributedstring uilabel ios swift
ios ×1
nsattributedstring ×1
swift ×1
textcolor ×1
uilabel ×1