Objective-c - iOS - hide/unhide label, textfield etc -


i want hide/unhide controls of subview in view. example: when button action occurs, labels become hidden unhide on subsequent button action , on. have implemented functionality through interface builder. how can same implementation programmatically?

i've tried

[label1 hidden: true]; 

which hasn't worked me.

here answer:

[label1 sethidden:yes]; 

yes objective-c's version of true.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -