ios - Can I set a UIView hidden is true in the viewDidLoad()? -


i have designed uiview in storyboard , parent view tableview. want set hidden or unhidden depend on decision.how can do? view tag? or other method? put code:

uiview *myview=[[uiview alloc] viewwithtag:99]; myview.hidden=true; 

but not work!

give iboutlet uiview in storyboard

@property(nonatomic, weak)iboutlet uiview *subview;

in viewdidload or viewwillappear

put line

subview.hidden=yes;


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -