The images in WebP format are not loading or displaying correctly on iOS 15, but they work fine on iOS 17. I haven’t tested on iOS 16 yet. #336
Labels
apple bug
Apple's bug that need workaround
Steps to Reproduce:
Expected Behavior:
WebP images should load and display correctly on iOS 15, similar to how they work on iOS 17.
Actual Behavior:
The WebP images are not loading or displaying correctly on iOS 15.
Additional Information:
if let url = URL(string: "https://www.gstatic.com/webp/gallery/1.webp") {
WebImage(url:url)
.resizable()
.placeholder(Image("vendor_background_placeholder"))
.onSuccess { image, data, cacheType in
print("Image successfully loaded")
}
.onFailure(perform: { error in
print("Image loading failed (error.localizedDescription)")
})
}
in ios 17 I am seeing logs "Image loaded successfully" but in ios 15 neither success nor failure log is displayed in console
pod 'SDWebImageSwiftUI'
Please let me know if there are any additional steps I should take or if there are any workarounds available.
Thank you!
The text was updated successfully, but these errors were encountered: