dmytro-anokhin / url-image

AsyncImage before iOS 15. Lightweight, pure SwiftUI Image view, that displays an image downloaded from URL, with auxiliary views and local cache.
MIT License
1.11k stars 96 forks source link

iOS 14 Crash using 0.9.19 #87

Closed racsol closed 4 years ago

racsol commented 4 years ago

My apps uses a huge List inside a NavigationView and when I enter the screen that have the huge list I got the following crash:

ignoring singular matrix: ProjectionTransform(m11: 5e-324, m12: 0.0, m13: 0.0, m21: 0.0, m22: 5e-324, m23: 0.0, m31: 5.0, m32: 5.0, m33: 1.0) (lldb)

Working great in the previous iOS version and the app doesn't crash if I remove the URLImage code:

My code:

return URLImage( urlRequest, content: { proxy in proxy.image.renderingMode(.original) .resizable() .aspectRatio(contentMode: .fit) .clipped() } )

iOS 14 0.9.19

dmytro-anokhin commented 4 years ago

Hey,

this is the first time I see this bug. I will need more information to investigate this issue:

If this is a public source please provide test images.

And some questions about view hierarchy:

Basically, I need to see more code. Ideally, isolate the issue in a playground. You mention the app doesn't crash if you remove the URLImage code. Did you try replacing URLImage with Image and displaying same images?

And also, iOS 14 - on a device or in the simulator?

Thank you.

LuboZ commented 4 years ago

Hi, same problem, iOS 14.01 Using URLImage in Hstack in List

dmytro-anokhin commented 4 years ago

Closing this issue as there are not enough information to investigate. Also I'm no longer supporting v0.9, please consider updating to v2.0.