ios改变push 的跳转转方向
程序员文章站
2022-04-12 21:13:11
CATransition* transition = [CATransition animation];
transition.type = kCATransitionPush;...
CATransition* transition = [CATransition animation];
transition.type = kCATransitionPush;//可更改为其他方式
transition.subtype = kCATransitionFromRight;//可更改为其他方式
[self.navigationController.view.layer addAnimation:transition forKey:kCATransition];
[self.navigationController popToRootViewControllerAnimated:YES];
下一篇: 稳定执行计划操作手册--oracle库