iOS模态跳转的动画设置

DetailViewController *detailVC = [[DetailViewController alloc]init];

//UIModalTransitionStyleFlipHorizontal 翻转

//UIModalTransitionStyleCoverVertical 底部滑出

//UIModalTransitionStyleCrossDissolve 渐显

//UIModalTransitionStylePartialCurl 翻页

detailVC.modalTransitionStyle = UIModalTransitionStylePartialCurl;

[self presentViewController:detailVC animated:YES completion:nil];

你可能感兴趣的:(iOS模态跳转的动画设置)