Voice dictation breaks UITextViewDelegate protocol.
| Originator: | me | ||
| Number: | rdar://19665952 | Date Originated: | 30-01-2015 |
| Status: | Open | Resolved: | NO |
| Product: | iOS SDK | Product Version: | 8.1.3 |
| Classification: | Other bug | Reproducible: | Always |
Summary: If you use voice dictation when entering text in UITextView, then when it recognises user input it doesn't call - (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text. Steps to Reproduce: - create UIViewController with UITextView in it. - assign delegate to your UITextView and implement "- textView:shouldChangeTextInRange:replacementText:" method. - start editing UITextView. - activate voice dictation via the microphone-key on the keyboard. Say something. Expected Results: All delegate methods should be called in the same order as if text was entered on the keyboard. Actual Results: Text view calls textViewDidChange, and textView:shouldChangeTextInRange:replacementText is never called by voice dictation.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
This is fixed in the latest iOS 9 beta (I didn't test in previous betas)