var body: some View { ZStack { Color.purple .ignoresSafeArea() // Your other content here // Other layers will respect the safe area edges } }