Possibility to deactivate automatic scrolling in UITableViews when keyboard appears
| Originator: | tobias.banaszak | ||
| Number: | rdar://22600028 | Date Originated: | 07-Sep-2015 10:52 AM |
| Status: | open | Resolved: | |
| Product: | iOS SDK | Product Version: | 8 |
| Classification: | enhancement | Reproducible: | always |
Summary: If you have a UITableView containing a UITextField (or something else to put text into) and you let the TextField become first responder the keyboard will pop up. This will make the UITableView in the UITableViewController scroll up so that nothing of the UITableView gets hidden by the keyboard. This is really useful - most of the time. There are cases when this behaviour is not wanted. A switch to activate/deactivate this feature would be great. A common workaround is not to call [super viewWillAppear:animated]. But i think, this is no valid way to go. So please provide a way to activate/deactivate auto-scrolling of a UITableView when the keyboard appears Steps to Reproduce: Implement a UITableViewController Add a Cell with a Text-Input. Activate Text Input UITableView scrolls up so that no Cell is hidden behind the keyboard Expected Results: I expect a property on the tableview to activate or deactivate the scrolling Actual Results: there is no property on the tableview to activate or deactivate the scrolling beaviour Version: iOS 8 Notes: Configuration: not relevant. Attachments:
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!