Raj
Raj

Reputation: 1213

Strange Issue for Sawing and hiding the Navigation bar

I have an application which presents few screens using navigation controller, On my First screen i have hide the navigation bar , When i Push On the Second screen I set my Navigation bar visable and When i pop from the Second screen to first screen i saw the one black stripe on the first screen, Can you please give me the Solution of this problem.

Thanks.

Upvotes: 0

Views: 134

Answers (1)

Charan
Charan

Reputation: 4946

Please hide your navigation bar in ViewWillAppear and not on ViewDidLoad, because while poping from second view viewWillAppear will be called first

Upvotes: 1

Related Questions