1

i want to back on MFSlidemenu there is no functionality to go back in MFSlidemenu

i have tried this but result:

[self.navigationController popToViewController:Viewcontroller animated:YES];

and this

 NSUInteger ownIndex = [self.navigationController.viewControllers indexOfObject:self];
[self.navigationController popToViewController:        
[self.navigationController.viewControllers objectAtIndex:ownIndex - 2] animated:YES]; 
4

1 回答 1

0

please check this link

HomeView *Home = [[HomeView alloc]initWithNibName:@"HomeView" bundle:nil];
NSArray *controllers = [NSArray arrayWithObject:Home];
self.navigationController.viewControllers = controllers;
于 2016-09-13T04:36:51.550 回答