DAPagesContainer
DAPagesContainer copied to clipboard
Navigation control
When I use a table view, and in didSelectRowAtIndexPath method, I set a navigation push, but it doesn't work. Please guide to solve it. Thanks!
Ditto. Same issue.
Same problem for me. Any update on this?
I had the same problem my solution is to declare
@property (nonatomic, retain) UINavigationController *navController; in the page (uitableviewcontroller) that i need to navigate.
After i initialize the view i do uitableviewController.navcontroller = self.navigationcontoller (rootViewController)
after that in
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath;{ UIViewController *viewController = [[UIViewController alloc] init]; [self.navController pushViewController:viewController animated:YES];
}
this worked for me
@daria-kopaliani @FreshApps i can't understand what did you said I have DAViewController as root view and use page2iewController *NewsViewController = [self.storyboard instantiateViewControllerWithIdentifier:@"view2"]; buckDeerViewController.title = @"اnews" to access my viewController and add three other views In page2iewController i want to push view to detailView and use this DAViewController *daView = [[DAViewController alloc]init]; self.navController = daView.navigationController; DetailViewController *detail = [[DetailViewController alloc]init]; [self.navController pushViewController:detail animated:YES];
Please help me!!!!