Evan Hartig

Results 3 comments of Evan Hartig

Sounds like you might want to use something like SwiftUI's ImageRenderer that draws a view to a bitmap. https://developer.apple.com/documentation/swiftui/imagerenderer

This appears to be a minification issue as I can only reproduce it with `isMinifyEnabled = true`. R8 is stripping out a necessary class (though I have not investigated deeply...

The above didn't work for me, maybe because I was using a local asset, but using the same logic in a `getAspectRatio` function worked fine to pull the aspect ratio...