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

Python __call__ special method practical example -

How can I edit my VIM config so that Vim treats ".ejs" files the same as it currently treats my html files? -