Saturday, 31 August 2013

pushViewController doesn't work

pushViewController doesn't work

I have a UIViewController, I want to navigate from this view to my second
view controller
SecondView *secondView=[[SecondView alloc] initWithNibName:@"SecondView"
bundle:nil];
[self.navigationController pushViewController:secondView animated:YES];
[secondView release];
It doesn't work. It doesn't do anything and there is no error. What I'm
missing?

No comments:

Post a Comment