0

Actually the scenerio is very simple: on click back button, view controller navigates to previous view controller that have UICollectionView in it. I have tried everything but it is not navigating?

I have used stack unwinding using storyboards:

  1. [self dismissPopupViewControllerWithanimationType:MJPopupViewAnimationFade];

  2. [self dismissViewControllerAnimated:YES completion:nil];

  3. NSArray *array = [self.navigationController viewControllers];

    [self.navigationController popToViewController:[array objectAtIndex:2] animated:YES];

  4. I have also tried all these in -(IBAction) and also used satck unwinding ; but its not working.

Szu
  • 2,254
  • 1
  • 21
  • 37
  • 1
    Can you share some code/info? What you ask for is pretty much standard behavior when using `UINavigationController`s (push/pop)... – Alladinian Aug 12 '14 at 08:05
  • Look at this: http://stackoverflow.com/questions/8988992/dismissviewcontrolleranimated-is-called-but-viewcontroller-is-not-dismissed – Sophy Swicz Aug 13 '14 at 17:26

0 Answers0