Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS 11之后转场dismiss页面时出现黑屏问题处理 #16

Open
ShaochongDu opened this issue May 20, 2020 · 1 comment
Open

iOS 11之后转场dismiss页面时出现黑屏问题处理 #16

ShaochongDu opened this issue May 20, 2020 · 1 comment

Comments

@ShaochongDu
Copy link

你好,在iOS13后,由于presentViewController方法默认modalPresentationStyle为UIModalPresentationAutomatic,导致dissmiss页面出现黑屏,需要对库作如下修改:

文件:UIViewController+XWTransition.m
方法:xw_presentViewController:
修改:
viewController.modalPresentationStyle = UIModalPresentationFullScreen;//增加内容
[self presentViewController:viewController animated:YES completion:nil];

@effortwdh
Copy link

大佬呀解决问题了~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants