Posts

Post not yet marked as solved
0 Replies
615 Views
Does the modifier ".ignoresSafeArea" work with iOS 14.5 and Xcode 12.5? I am attempting to use the code below to display an image as a full screen background, but the image fails to cover the top safe area. The image is located in an asset catalog.             ZStack {                                  VStack {                 Image(backGroundImage())                     .resizable()                     //.edgesIgnoringSafeArea(.all)                     //.aspectRatio(geometry.size, contentMode: .fill)                     .opacity(luminosity)                     .ignoresSafeArea()                     .animation(.easeIn(duration: 0.75))             } .ignoresSafeArea()
Posted
by LiCharles.
Last updated
.