title: How to replace text in UITextView with selected range?
body: <p>I want to replace the text in UITextView text in selected range. This is my question. Here i mention what i did? and what i want to do?. I have an UITextView and entered the below text in textview. </p>
  
  <p><code>Ask question here</code>, i have saved the range in of the text in textview. The text range is <code>{17, 0}</code>. I take the NSRange in <code>-(void) textViewDidChange:(UITextView *)textView</code> delegate. </p>
  
  <p>Now i want to replace the text <code>question</code> with <code>answer</code> and i want to replace the text <code>here</code> with <code>them. The UITextView.text look like this,</code>Ask answer them` after replaced the texts. </p>
  
  <p>How can i replace the texts with the selected ranges? Can you please help me? Thanks in advance.</p>