Setting contentInset for UITableView in Storyboard doesn't work, but setting in viewDidLoad: works
| Originator: | uson1x | ||
| Number: | rdar://14928228 | Date Originated: | 06.09.2013 |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 7 Beta 6 |
| Classification: | Reproducible: | Always |
Summary: If you turn off all the automatic adjustments of content insets, setting Content Insets in Storyboard for UITableView doesn't work, though setting contentInset in viewDidLoad method does work! What is interesting is that if you set content inset both in storyboard and in viewDidLoad, this won't work for some reason. Steps to Reproduce: 1. Create UITableViewController in Storyboard 2. Turn off 'Adjust Scroll View Insets' for this controller 3. Select UITableView itself and set some content inset 4. Run the application Expected Results: UITableView content is shifted according to the inset. Actual Results: UITableView content position is not affected.
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!