I've connected a UILongPressGestureRecognizer to my Button on the view. I did this in the Referencing Outlet Collections in in the Interface Builder. When the Button gets pressed an Action is triggered:
- (IBAction)longPressed:(UILongPressGestureRecognizer *)sender {
[self performSegueWithIdentifier:@"nextView" sender:self];
}
The segue was created in the Interfacebuilder.
The next ViewController is pushed (I use a NavigationController) and displayed correct. But now I get this Error Message:
"nested push animation can result in corrupted navigation bar" "Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted." "Unbalanced calls to begin/end appearance transitions for ."
When I press the back Button the App crashes.
I tried to trigger the segue with a simple Button touch. It works, but why does it crash with the LongPress.