ios - How do I hide/show views that are layered in a "container" view inside a viewcontroller XIB -
the following issue happens when testing on physical device (iphone 6+). works on simulator.
i have viewcontroller header , footer section show/hide different subviews depending on current state.
the subviews of containers defined within viewcontroller xib using autolayout, , added respective containers on viewdidload.
the problem after add subviews header , footer containers, i'm not able change "hidden" property of subviews display ones need show/hide.
you can see breakpoint example, shows hidden property coerced value assigned on viewdidload, defaulted false.
i tried using bringsubviewstofront, did not work. subviews retain hidden value had after viewdidload.
i think should replace header/footer item instead changing visibility.
Comments
Post a Comment