2

I am using following code to push viewcontroller from another viewcontroller .

ProductDetailViewController * productDetails = [self.storyboard instantiateViewControllerWithIdentifier:@"ProductDetailViewController"];
[self.navigationController pushViewController:productDetails animated:YES];

Now this is the code gets called on tap of back button

[self.navigationController popViewControllerAnimated:YES];

Problem is when I tap on back button, navigation becomes very slow. Any suggestion to solve this.

Pushkraj Lanjekar
  • 2,254
  • 1
  • 21
  • 34
user2931321
  • 468
  • 1
  • 7
  • 28

0 Answers0