Reputation: 1425
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 particular range ?
Please help me out.
Upvotes: 0
Views: 418
Reputation: 118681
Does this work for you?
NSString *selection = [textView.text substringWithRange:textView.selectedRange];
Upvotes: 1