I am using storyboard for a navigation based iphone application. I want viewcontrollers to navigate using "pushviewcontroller" property but at the same time I dont want them to animate. Simply I want to set their Animation property to "NO"
How can I do this using storyboard?
To expand on the answer by @azethoth creating a no animation segue is as easy as:
@interface NoAnimationSegue : UIStoryboardSegue
@end
@implementation NoAnimationSegue
- (void)perform
{
[[self.sourceViewController navigationController] pushViewController:self.destinationViewController animated:NO];
}
@end
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With