ValentiGoClimb
ValentiGoClimb

Reputation: 750

hide Navbar to work in interfice builder iphone

I'm building a view in my iOS app with Xcode. I'm using the interfice builder and because it's a navigation controller, the navigation bar appears. With code, I hide the navigation bar using:

[self.navigationController setNavigationBarHidden:YES animated:YES];

It works ok, but in interfice builder it keeps showing. How can I hide it in interfice builder to draw my view easily?

Upvotes: 0

Views: 98

Answers (1)

mservidio
mservidio

Reputation: 13057

Within the inspector on IB, there is a navigation bar dropdown. You should be able to simply change that to none, and it will go away from your view in IB.

Upvotes: 2

Related Questions