You can choose .preferredColorScheme
var body: some View {
ZStack {...}
.preferredColorScheme(.dark) // white tint on status bar
}
var body: some View {
ZStack {...}
.preferredColorScheme(.light) // black tint on status bar
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…