0

Its look strange for me Application crashes for me when navigate to back.

// backButtonAction.
-(void)backAction:(id)sender{
    [[self navigationController] popViewControllerAnimated:NO];
}

Its really strange when set Animation YES its not crashes, When set No for animation its crasheing.

Crash message is also not displaying for me directly going to app delegate main thread..

kiran
  • 4,285
  • 7
  • 53
  • 98
  • http://stackoverflow.com/questions/12570799/uinavigationcontroller-popviewcontrolleranimated-crash-in-ios-6 – Anbu.Karthik Sep 26 '16 at 09:35
  • show the code how you are pushing viewController. – Ronak Chaniyara Sep 26 '16 at 09:38
  • NSString * storyboardName = @"Main"; UIStoryboard *storyboard = [UIStoryboard storyboardWithName:storyboardName bundle: nil]; SecondViewController *secondViewController = [storyboard instantiateViewControllerWithIdentifier:@“SecondViewController”]; [self.navigationController pushViewController:secondViewController animated:NO]; – kiran Sep 26 '16 at 09:57

0 Answers0