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

to use a none fullScreen modalPresentationStyle,i get black screen while controller dismiss #8

Open
Girlsmile opened this issue Nov 25, 2019 · 0 comments

Comments

@Girlsmile
Copy link

i try to fix it:

if fromVC.modalPresentationStyle == .fullScreen {
containerView.insertSubview(toVC.view, belowSubview: fromVC.view)
}

add it in the DismissAnimator.swfit

@Girlsmile Girlsmile changed the title to use a none fullScreen modalPresentationStyle,i get black screen while i dismiss to use a none fullScreen modalPresentationStyle,i get black screen while controller dismiss Nov 26, 2019
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

1 participant