Description
I’m encountering rendering issues when using SDWebImage to load images in a SwiftUI app on Apple TV HD devices running tvOS 18.4 beta (22L5240e). The images experience color banding, artifacting, and partial transparency, with parts of the screen obscured by a grey background (capturing as black in screenshots).
This contrasts with using AsyncImage, which renders correctly under the same conditions. The issue escalates to temporary hangs (4-5 seconds) and, in one case, a fully black screen requiring a factory reset. I’ve replicated this on two Apple TV HD devices but not on Apple TV 4K.
I’ve also filed a related issue with Apple’s Feedback Assistant to investigate potential tvOS beta regressions, but I suspect SDWebImage’s image processing might be amplifying the problem on this platform.
Steps to Reproduce:
- Set up an Apple TV HD (4th generation) with tvOS 18.4 beta (22L5240e).
- Build and run the attached sample project "Images Box HD.zip" (SwiftUI app with a LazyHStack of 4 buttons loading images via SDWebImage from a server).
- Observe rendering—cells show color banding and artifacting; parts of the screen display a grey background (captures as black); expect 4-5 second hangs and, occasionally, a full black screen.
Expected Behavior:
All four cells should render fully and accurately, with no distortions, grey/black backgrounds, or performance issues.
Actual Behavior:
All cells render but are affected by color banding, artifacting, and partial transparency; parts of the screen appear as a grey background (capturing as black in screenshots), with occasional 4-5 second hangs.
Additional Notes:
- Not a hardware issue—tested with multiple HDMI cables and TVs, same result.
- Replicated on two Apple TV HD devices with tvOS 18.4 beta; unable to replicate on Apple TV 4K or simulator.
- Issue persists when built with Xcode 16.2 (16C5032a) and 16.3 beta 2 (16E5121h).
- Distortions and background issues are consistent across launches.