Hi everyone in an IBAction I have
ProfileViewController *viewController = [self.storyboard instantiateViewControllerWithIdentifier:@"ProfileViewController"];
[self.navigationController popToViewController:viewController animated:YES];
NSLog(@"tapped");
And then when I click the button, I see the "tapped" is logged but the view controller doesn't go?
Why does it not pop to the new view controller?
Thanks