1 Reply Latest reply: Jul 8, 2011 12:19 AM by Bigstorm
anand84 Level 1 (0 points)

Hi all,

           As I know how to add navigation controller to viewController using coding but by using Interface Builder I am not able to do it.


Here is the code how I am coding.


  VC1 *vController  = [[VC1 alloc]init];


  UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:vController];


     [vController setModalPresentationStyle:UIModalPresentationFullScreen];



     aNAv.navigationBarHidden = YES;


     [aNAv presentModalViewController:nav animated:YES];


     [nav release];


     [vController release];


and these how I am using Interface Builder



MacBook Pro, Mac OS X (10.6.7)