Calling setHidden:NO on a subview of UIStackView does not always show it

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
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

Tested on iPhone 6S and simulator running iOS 9.2.1

Sample project at


Still not fixed on iOS 17.x

Still not fixed in iOS 17.0

By 1992Christoff at Sept. 25, 2023, 9:17 a.m. (reply...)

Still not fixed on iOS 16.x

Still buggy in iOS 16

By romain.rabouan1 at Nov. 2, 2022, 12:47 p.m. (reply...)

iOS 14 not fixed

Still not fixed in iOS 14.0

By wojciechkonury at July 1, 2022, 9:50 a.m. (reply...)

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.

By martinpittenauer at May 25, 2020, 8:47 a.m. (reply...)

Still buggy in iOS 11.0 !!!

Still not fixed in iOS 11.0!

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at 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!