ios - Hide a UIButton when another button is tapped -


how can hide uibutton on tap of button, or other event?

create outlet button hide , connect in xib:

iboutlet uibutton *mybutton; 

now create ibaction other button , connect in xib:

-(ibaction)hidebutton {     mybutton.hidden = yes; } 

so when click on second button, hide mybutton.


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 -