我的 UIViewController 中有一个按钮,我想在按下按钮时进行翻转交易,我有交易但它是翻转肖像,请你帮帮我!我想把它当作风景
这是我的代码:
TestViewController *ctrl = [[TestViewController alloc] init];
[UIView transitionFromView:self.view
toView:ctrl.view
duration:1
options:UIViewAnimationOptionTransitionFlipFromTop
completion:nil];
[self.navigationController pushViewController:ctrl animated:NO];
提前致谢!