Cocoanetics / DTCoreText

Methods to allow using HTML code with CoreText
BSD 2-Clause "Simplified" License
6.35k stars 1.18k forks source link

DTTiledLayerWithoutFade & WKWebView Crash #1221

Open Bathant opened 3 years ago

Bathant commented 3 years ago

Hello, I have a project where I set DTAttributedTextContentView layer to DTTiledLayerWithoutFade and at the same time trying to render DTIframeTextAttachment via WKWebView. But unfortunately I have faced a crash after trying to dismiss the ViewController which holds DTAttributedTextContentView, the crash is gone when removing this line DTAttributedTextContentView.setLayerClass(DTTiledLayerWithoutFade.self) from AppDelegate.

Bathant commented 3 years ago

I think the problem from apple side here is a related problem from developer apple forum: https://developer.apple.com/forums/thread/659600