DAPagesContainer icon indicating copy to clipboard operation
DAPagesContainer copied to clipboard

Navigation control

Open function2000 opened this issue 11 years ago • 4 comments

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!

function2000 avatar Oct 22 '13 01:10 function2000

Ditto. Same issue.

semerda avatar Dec 28 '13 23:12 semerda

Same problem for me. Any update on this?

MobileMon avatar Apr 02 '14 20:04 MobileMon

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

FreshApps avatar May 15 '14 15:05 FreshApps

@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!!!!

morteza2128 avatar Aug 16 '14 12:08 morteza2128