I am using swrevealviewcontroller for slideout menu in our app.But hdfc payment gateway is not supporting this swrevealviewcontroller.The issue is they are supporting only pushview for navigation but if we use swrevealviewcontroller it wont support pushvi

I am using swrevealviewcontroller for slideout menu in our app.But hdfc payment gateway is not supporting this swrevealviewcontroller.The issue is they are supporting only pushview for navigation but if we use swrevealviewcontroller it wont support pushview.


our root viewcontroller will be swrevealviewcontroller .

Hdfc people have given this code to add in appdelegate application open url


NSArray *parameterArray = [[url absoluteString] componentsSeparatedByString:@"?"];

UIStoryboard *mainStoryboard = [UIStoryboard storyboardWithName:[[NSBundle mainBundle].infoDictionary objectForKey:@"UIMainStoryboardFile"] bundle:[NSBundle mainBundle]];

ResponseViewController *controller = (ResponseViewController*)[mainStoryboard instantiateViewControllerWithIdentifier: @"ResponseViewController"];

controller.transaction_id = [parameterArray objectAtIndex:1];

UINavigationController *navigationController = (UINavigationController *)self.window.rootViewController;

[navigationController pushViewController:controller animated:YES];

return YES;

but rootview is swrevealviewcontroller i am giving


UIStoryboard *main = [UIStoryboard storyboardWithName:@"Main" bundle: nil];

ResponseViewController *viewController = (ResponseViewController *)[main instantiateViewControllerWithIdentifier:@"ResponseViewController"];

NSArray *parameterArray = [[url absoluteString] componentsSeparatedByString:@"?"];

viewController.transaction_id = [parameterArray objectAtIndex:1];

SWRevealViewController *controller = (SWRevealViewController *)self.window.rootViewController;

UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:viewController];

navController.navigationBarHidden=NO;

[navController setViewControllers:@[viewController] animated:YES];

[controller pushFrontViewController:navController animated:YES];


but they are stopping to go to successviewcontroller because of pushfrontviewcontroller .What is the solution?

I am using swrevealviewcontroller for slideout menu in our app.But hdfc payment gateway is not supporting this swrevealviewcontroller.The issue is they are supporting only pushview for navigation but if we use swrevealviewcontroller it wont support pushvi
 
 
Q