Xcode 9 Interface Builder preservesSuperviewLayoutMargins
Originator: | joshcampion89 | ||
Number: | rdar://33800511 | Date Originated: | August 9 2017 |
Status: | Open | Resolved: | |
Product: | Xcode | Product Version: | 9 Beta |
Classification: | Serious Bug | Reproducible: | Always |
The preservesSuperviewLayoutMargins property doesn't appear to be set correctly from a storyboard when running on iOS 10.x from Xcode 9 beta 1-5. This is particularly visible on a UITableViewCell. Setting the property on a cell and its content view in code results in the correct layout, but having the option ticked in Interface Builder alone only affects iOS 11. Expected Results: The views respect the layout margins of their superviews (e.g. left padding on iPhone 7 should align with table view cell separator) Observed Results: The views do not respect the layout margins of their superviews (e.g. left padding on iPhone 7 is 8pt on table view cell)
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!