Add ability to disable UITableViewController's keyboard handling
| Originator: | davbeck | ||
| Number: | rdar://13984333 | Date Originated: | 24-May-2013 10:56 AM |
| Status: | Open | Resolved: | |
| Product: | iPhone SDK | Product Version: | iOS 6 |
| Classification: | Enhancement | Reproducible: | Sometimes |
Summary: In iOS 3, UITableViewController added an automatic adjustment for the keyboard that scrolls the selected view into position and adjusts the content inset. However, there are many times when you want to override this behavior to provide your own. Steps to Reproduce: 1. Add your own notification callbacks to a UITableViewController 2. Adjust the tableView's contentInset manually Expected Results: Our implementation should win out over the superview's implementation. Actual Results: Depending on which notification callback gets called first, and a handful of changes, often times the content inset is doubly adjusted causing it to be negative on a hide or to big on a show. Notes: Ideally this behavior should be better documented and able to be controlled from the subclass. We should be able to completely disable the behavior.
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!