This seems like such a stupid problem, but I can't seem to sort it out.
My user clicks on an icon located on the app's home screen, and the icon executes a modal segue, opening a view. From here, a user is able to click another button, which pushes them to a detail view. Here's the kicker: Once my user is on the detail view, and attempts to click another button, I get the error:
"Unbalanced calls to begin/end appearance transitions."
I'm assuming it's due to the amount of segues layering overtop of the original modal. In short, the process is: Modal, Push, Push. On that third push, the above "error" appears in the console.
How can I fix this? Here's the segue/code that the error occurs on:
.m
- (IBAction)purchasebuttonpressed:(id)sender
{
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"MainStoryboard_1" bundle:nil];
StrainDetailViewController *yourViewController = (StrainDetailViewController *)[storyboard instantiateViewControllerWithIdentifier:@"DispensaryViewController"];
[self.navigationController pushViewController:yourViewController animated:YES];
}