Post

Replies

Boosts

Views

Activity

the modifier .ignoresSafeArea
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()
0
0
651
Jun ’21