title: UITextview delegate method shouldChangeTextInRange not detecting space character in Objective C
body: <p>UITextview delegate method shouldChangeTextInRange will detect a single space character only after multiple attempts from UIKeyboard.All other keys from UIKeyboard become disabled state while tapping space bar in UIKeyboard.</p>
  <p>Do you have any idea about this issue?</p>
  <pre><code>- (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text{ 
  
  if([textView.text isEqualToString:@“sometext”]){ 
  
  textView.text = @&quot;&quot;; 
  self.myTextview.textColor = [UIColor colorWithRed:59.0/255.0 green:92.0/255.0 blue:111.0/255.0 alpha:1.0]; 
  } 
  return true;
  </code></pre>