UISelectCategoryController *selectCategory;
PushView Controller:-
-(IBAction)btnNext_TouchUpInside:(id)sender{
selectCategory = [[UISelectCategoryController alloc]initWithNibName:@"SelectCategoryView" bundle:nil];
[self.navigationController pushViewController:selectCategory animated:YES];
}
PopView Controller:-
-(IBAction)btnBack_TouchUpInside:(id)sender{
[self.navigationController popViewControllerAnimated:YES];
}
popToView Controller:-
-(IBAction)btnLocation_TouchUpInside:(id) sender{
NSArray *viewController = [self.navigationController viewControllers];
[self.navigationController popToViewController:[viewController objectAtIndex:1] animated:YES];
}
popToRootView Controller:-
-(IBAction)btnLogOut_TouchUpInside:(id)sender
{
[self.navigationController popToRootViewControllerAnimated:YES];
}
No comments:
Post a Comment