Open sagar-vaholiya opened 9 years ago
any solution...?
found any way to fix it? im having the same issue right now
user this method
` - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
if([segue isKindOfClass:[SWRevealViewControllerSegueSetController class] ]){
UIViewController *dvc = [segue destinationViewController];
UINavigationController *navCtrl = (UINavigationController *) self.revealViewController.frontViewController;
[navCtrl setViewControllers:@[dvc] animated:NO];
[self.revealViewController setFrontViewPosition:FrontViewPositionLeft animated:YES];
}
}`
(void) prepareForSegue: (UIStoryboardSegue ) segue sender: (id) sender { // Set the title of navigation bar by using the menu items NSIndexPath indexPath = [self.tableView indexPathForSelectedRow]; UINavigationController destViewController = (UINavigationController)segue.destinationViewController; destViewController.title = [[menuItems objectAtIndex:indexPath.row] capitalizedString];
if ( [segue isKindOfClass: [SWRevealViewControllerSegueSetController class]] ) { SWRevealViewControllerSegueSetController swSegue = (SWRevealViewControllerSegueSetController) segue;
swSegue.performBlock = ^(SWRevealViewControllerSegueSetController* rvc_segue, UIViewController* svc, UIViewController* dvc) {
}
}