Wednesday, 11 September 2013

iOS UINavigationController Not Working

iOS UINavigationController Not Working

I'm creating a tour screen where a user would swipe left and right to show
some instructional pages.
However I'm having issues in loading pushing the next view. I've created a
UINavigationController as below in a handleSwipes method:
TourViewController2 *tourView2 = [[TourViewController2 alloc]
initWithNibName:@"TourViewController2" bundle:nil];
UINavigationController* navigationController = [[UINavigationController
alloc] init];
[navigationController pushViewController:tourView2 animated:YES];
Any ideas?
Thanks.

No comments:

Post a Comment