Enabling editing mode on UITableView on iPad landscape indents cells too far when deletion control appears
| Originator: | marcus | ||
| Number: | rdar://26942925 | Date Originated: | 22-Jun-2016 04:23 PM |
| Status: | Open | Resolved: | |
| Product: | iPad 2, iPad Air | Product Version: | iOS 9.3 |
| Classification: | Reproducible: | Always |
If cellLayoutMarginsFollowReadableWidth is set to true (default behavior) on a UITableView on an iPad in landscape orientation, and we then enable editing mode for this UITableView, then the cells will move much farther to the right than intended, leaving a wide gap between deletion control and cell. Steps to Reproduce: 1. Add UITableView and align it to the edges of the screen. 2. Run app on iPad in landscape orientation 3. Enable editing on UITableView with setEditing: Expected Results: Deletion control appears on the left side of the cells, moving the cells slightly to the right to make room for the control, with no gap between deletion control and cell. Actual Results: Deletion control appears on the left side of the cells, but the cells move too far to the right leaving a wide gap between deletion control and cell. Version: iOS 9.3 Notes: This is fixable by disabling cellLayoutMarginsFollowReadableWidth on the UITableVIew.
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!