Skip to content
New issue

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

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

Already on GitHub? # to your account

New update turns the view black after closing the view #135

Open
asbis opened this issue Dec 28, 2019 · 3 comments
Open

New update turns the view black after closing the view #135

asbis opened this issue Dec 28, 2019 · 3 comments

Comments

@asbis
Copy link

asbis commented Dec 28, 2019

Hi

I just updated my app with the newest update to this project.
Now, when i close a card, the screen turns black.

I also tried it with the demo app, and it also turns itself black.
I am looking into the issue. And will post update as soon as i have found the bug.
But if you have found it, let me know.

@ghost
Copy link

ghost commented Jan 1, 2020

Check out bug #131 && #121

find shouldPresent function and I replace detailVC.isFullscreen = fullscreen with
detailVC.modalPresentationStyle = .fullScreen

@coderluka
Copy link

can confirm this solved the problem.
still had it in iOS 14 Thanks!

@Dreamer4ik
Copy link

In the function "shouldPresent" of file Card.swift add the following code:
under detailVC.isFullscreen = fullscreen
need add
if fullscreen {
detailVC.modalPresentationStyle = .fullScreen
}
else {
detailVC.modalPresentationStyle = .currentContext
}

it worked for me

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

No branches or pull requests

3 participants