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

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -