I am integrated payU payment gateway in my application. After I have made successful payment I am not able to go previous viewController from where I have pushes payU view for payment.
Steps: I am using tabBar in my application with 5 tabs. Each view in tab is added in navigationController so u can push views. Suppose I have selected homeTab bar and from home I have selected product which I have purchase. Then it goes to Mycart view then on click of buy Now I pushes another viewController and then on click of place order btn on that view I am started payment using payU .
It means I am pushing payU views and make payment. After successful payment done receiveResponse method is called where I am getting payment response.
If I put code to pop to place order view it get popped to home View even I doesn't write any code for pop it pops to home.