UIStackView does not re-install views correctly that were removed by size class rules

Originator:greg
Number:rdar://22492428 Date Originated:30-Aug-2015 12:50 PM
Status:Open Resolved:
Product:iOS SDK Product Version:Xcode-beta (7A192o)
Classification:UI/Usability Reproducible:Always
 
Summary:
When re-installing views that were uninstalled by a size class rule, UIStackView does not respect the installed positions

Steps to Reproduce:
1. Have a vertical stack view centered with several items.
2. Set the top item and bottom item (for instance) be uninstalled on compact height (iPhone landscape)
3. Rotate from Portrait to Landscape
4. Rotate from Landscape to Portrait

Expected Results:
Initial portrait view and last portrait view are identical

Actual Results:
Views that are reinstalled are stacked overlapping in the upper-left corner of the stack view (see screenshot).

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!