Calling setHidden:NO on a subview of UIStackView does not always show it
Originator: | poppoppop | ||
Number: | rdar://25087688 | Date Originated: | 10-Mar-2016 08:17 PM |
Status: | Open | Resolved: | |
Product: | iOS SDK | Product Version: | 9.2 |
Classification: | Serious Bug | Reproducible: | Always |
Summary: If setHidden:YES has been called more than two times then setHidden:NO needs to be called more than once before the subview shows again. Steps to Reproduce: 1. Create a UIStackView with a few arranged subviews 2. Call setHidden:YES on one of the arranged subviews within an animation block 3. Call setHidden:YES two more times 4. Call setHidden:NO on the subview Expected Results: The subview is visible and isHidden returns NO Actual Results: The subview is still hidden and isHidden returns YES Regression: Tested on iPhone 6S and simulator running iOS 9.2.1 Notes: Sample project at https://github.com/prendio2/StackViewWow
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!
Still not fixed on iOS 17.x
Still not fixed in iOS 17.0
Still not fixed on iOS 16.x
Still buggy in iOS 16
iOS 14 not fixed
Still not fixed in iOS 14.0
Still not fixed in iOS 13.
isHidden seems to be cumulative in UIStackViews, so we have to ensure to not set it the same value twice.
Still buggy in iOS 11.0 !!!
Still not fixed in iOS 11.0!