如何返回 MFsidemenu?
how to go back in MFsidemenu?
我想返回 MFSlidemenu
MFSlidemenu
没有返回的功能
我试过这个但是结果:
[self.navigationController popToViewController:Viewcontroller animated:YES];
还有这个
NSUInteger ownIndex = [self.navigationController.viewControllers indexOfObject:self];
[self.navigationController popToViewController:
[self.navigationController.viewControllers objectAtIndex:ownIndex - 2] animated:YES];
HomeView *Home = [[HomeView alloc]initWithNibName:@"HomeView" bundle:nil];
NSArray *controllers = [NSArray arrayWithObject:Home];
self.navigationController.viewControllers = controllers;
我想返回 MFSlidemenu
MFSlidemenu
我试过这个但是结果:
[self.navigationController popToViewController:Viewcontroller animated:YES];
还有这个
NSUInteger ownIndex = [self.navigationController.viewControllers indexOfObject:self];
[self.navigationController popToViewController:
[self.navigationController.viewControllers objectAtIndex:ownIndex - 2] animated:YES];
HomeView *Home = [[HomeView alloc]initWithNibName:@"HomeView" bundle:nil];
NSArray *controllers = [NSArray arrayWithObject:Home];
self.navigationController.viewControllers = controllers;