0

Possible Duplicate:
navigation bar show/hide

I have a problem at hand.

I am displaying a navigation controller programmatically on an IPAD application specifically a kind of MODAL. The modal is displayed on clicking the setting button. Now i want to hide the controller view when the user signs up successfully or signs in successfully. Can someone please tell me how to achieve this programatically.

Thanks

Community
  • 1
  • 1
Akhilesh Sharma
  • 1,580
  • 1
  • 17
  • 29

2 Answers2

2

if you are presenting the NavigationController modally you can now dismiss it by using:

[self.navigationController dismissModalViewControllerAnimated:YES];
Adil Soomro
  • 37,609
  • 9
  • 103
  • 153
0

Use this code to hide your navigation controller.

 [self.navigationController setNavigationBarHidden:YES animated:YES]
Ravi Kumar Karunanithi
  • 2,151
  • 2
  • 19
  • 41