开发者

how to set color of text in selected TextView

How to set color of text in selected TextView.

i try it not able to figure it out.

Is it possible to change UITextView`s color in partic开发者_如何学编程ular range ?

Please help me out.

how to set color of text in selected TextView


Does this work for you?

NSString *selection = [textView.text substringWithRange:textView.selectedRange];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜