UITextView -deleteBackward no longer called!
| Originator: | maxseelemann | ||
| Number: | rdar://19290872 | Date Originated: | 18-Dec-2014 08:50 AM |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 8.1 |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: UITextView implements the UITextInput protocol. Yet some text input bypassed this protocol and call directly into private API without any chance over intervention! Steps to Reproduce: See the attached sample project: - Subclass UITextView - Observe -deleteBackward is NEVER called - Observe -_deleteBackwardAndNotify: is ALWAYS called Expected Results: At least one funnel through public API in the callstack. Actual Results: No way of intercepting backwards delete other than through private API. Regression: This is a MAJOR regression in our eyes. This behavior was as expected at least until iOS 7.2.2. Notes: Please provide the best-suited workaround. At the moment we’re overriding -_deleteBackwardAndNotify: and call the publicly available -deleteBackward.
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!