把push做出从下往上推的效果

2016-07-27  本文已影响244人  武林盟主和穿山甲

CATransition *transition=[CATransition animation];

transition.type=kCATransitionPush;

transition.subtype=kCATransitionFromTop;

[self.navigationController.view.layer addAnimation:transition forKey:kCATransition];

[self.navigationController pushViewController:userEvaluationVC animated:NO];

上一篇下一篇

猜你喜欢

热点阅读