UIStackView's bug regarding setting layoutMargins in IB
| Originator: | nguyenhoangkhanh | ||
| Number: | rdar://27397031 | Date Originated: | 18/7/2016 |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | iOS 9.3.2, Xcode 7.3.1 |
| Classification: | Interface Builder | Reproducible: | Yes |
Steps to Reproduce: Create a new Single View project Add a stack view to the only view Pin the stack view to all edges of its superview Using IB, set stack view's layout margins to (left: 25, top: 25, bottom: 25, right: 25) In viewDidLoad, print the stack view's layout margins (using "layoutMargins" property). Expected Results: Should see (25, 25, 25, 25) in output Actual Results: See (8, 8, 8, 8) in output
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!