SDWebImage / SDWebImageSwiftUI

SwiftUI Image loading and Animation framework powered by SDWebImage
https://sdwebimage.github.io/SDWebImageSwiftUI
MIT License
2.1k stars 216 forks source link

App Crashed #254

Closed ghost closed 1 year ago

ghost commented 1 year ago
Screenshot 2023-01-25 at 10 21 23 PM

Somehow app gets crashed loading SVG images from url while i am changing tab in my app

Blow warning i got at the end with crash

Thread running at QOS_CLASS_USER_INTERACTIVE waiting on a lower QoS thread running at QOS_CLASS_DEFAULT. Investigate ways to avoid priority inversions

dreampiggy commented 1 year ago

If you use SDWebImageSVGCoder, maybe you can check https://github.com/SDWebImage/SDWebImageSVGCoder/pull/44

Or, a better solution, try to use SDWebImageSVGNativeCoder instead

A personal tip:

DO NOT USE SVG on Apple Platform, use PDF instead