DEV Community

Discussion on: Background Color with SwiftUI

Collapse
 
domainxh profile image
Xiaoheng Pan

I am using the ZStack approach and was able to address color issues in normal mode for safe areas. However, during rotation, you can see small white edges momentarily as the screen rotates. Any suggestion to address that issue?

Collapse
 
robbertkl profile image
Robbert Klarenbeek

I was struggling with the same issue, but managed to find a solution. Please see my answer on Stack Overflow. Hope that helps :)