johnyios johnyios - 1 year ago 90
iOS Question

how to go back in MFsidemenu?

i want to back on

there is no functionality to go back in

i have tried this but result:

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

and this

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

Answer Source

please check this link

HomeView *Home = [[HomeView alloc]initWithNibName:@"HomeView" bundle:nil];
NSArray *controllers = [NSArray arrayWithObject:Home];
self.navigationController.viewControllers = controllers;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download