Cards icon indicating copy to clipboard operation
Cards copied to clipboard

New update turns the view black after closing the view

Open asbis opened this issue 4 years ago • 3 comments

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.

asbis avatar Dec 28 '19 19:12 asbis

Check out bug #131 && #121

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

ghost avatar Jan 01 '20 01:01 ghost

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

coderluka avatar Oct 04 '20 10:10 coderluka

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

Dreamer4ik avatar Apr 12 '22 17:04 Dreamer4ik