M Ramakrishnareddy
M Ramakrishnareddy

Reputation: 33

how to hide UIButton in UIViewController in IOS?

As shown in screen shot i have login page, which contains login and registration buttons, after registration over i need hide the registration button. click here to view screenshots

Upvotes: 0

Views: 91

Answers (1)

Sanandiya Vipul
Sanandiya Vipul

Reputation: 764

Yes you need to hide it programmatically.You can have two option.

  1. ButtonOutlet.hidden = YES;

OR Other thing

  1. in interface builder set Hidden

    enter image description here

Upvotes: 1

Related Questions