I am making an app to display magazines as PDFs. Sometimes whilst viewing the PDF (usually after scrolling and zooming around), certain pages will turn black. I have linked a screenshot of this problem.
The black pages return to normal after I reload the page or execute
webView.transform = CGAffineTransform(rotationAngle: 0) webView.frame = view.safeAreaLayoutGuide.layoutFrame
What’s causing this and how can I prevent it?
Powered by WPeMatico