答案 0 :(得分:3)
该动画是默认行为。您需要创建一个自定义的UIStoryBoardSegue,如下所示:
PushNoAnimationSegue.h是:
#import <UIKit/UIKit.h>
@interface PushNoAnimationSegue : UIStoryboardSegue
@end
PushNoAnimationSegue.m是:
#import "PushNoAnimationSegue.h"
@implementation PushNoAnimationSegue
-(void) perform{
[[[self sourceViewController] navigationController] pushViewController:[self destinationViewController] animated:NO];
}
@end
现在,对于每个segue,将类更改为您刚刚创建的类,并选择&#34; custom&#34;在下拉菜单中。