I have a text view and i want to be able to make a selection of a sentece and to change the size / color / font only for the selected part .
I did this part to take the selected word:
-(void)textViewDidChangeSelection:(UITextView *)textView{
UITextRange *selectedRange = [textView selectedTextRange];
NSString *selectedText = [textView textInRange:selectedRange];
}
but i don't know how to make changes and also to change the color of selection part.
Any help will be apreciate . Thanks in advance.