Update: It looks like that it only happens on notch-less models. You don't need to do anything on newer models to make both swiftui and the bounds coordinate anchored on the same center.
The red star is the default center on the View. The black star is the "UIScreen midX" which is offset by the status bar I guess. Do I need to calculate the status bar height to center the black star? Thank you.
ZStack{
Text("✧")
.position(x: UIScreen.main.bounds.minX, y: UIScreen.main.bounds.minY)
Text("✧")
.foregroundColor(Color.red)
Text("✧")
.position(x: UIScreen.main.bounds.midX, y: UIScreen.main.bounds.midY)
}