swift版本升级代码适配,pod库更新

This commit is contained in:
DDIsFriend
2023-09-22 17:50:01 +08:00
parent 004df124ed
commit 29203ddf64
7 changed files with 63 additions and 215 deletions

View File

@@ -84,8 +84,8 @@
fromVC.tabBarController.tabBar.hidden = YES;
}
[fromVC.navigationController.view addSubview:fromVC.view];
[fromVC.navigationController.view addSubview:toVC.view];
[fromVC.navigationController.view insertSubview:fromVC.view atIndex:0];
[fromVC.navigationController.view insertSubview:toVC.view aboveSubview:fromVC.view];
[UIView animateWithDuration:[self transitionDuration:transitionContext] animations:^{
fromVC.view.frame = fromVCToRect;