SwiftUI method for obtaining status bar and navigation bar All the articles only introduce the method of UIkit acquisition, and cannot be acquired using UIApplication.shared.statusBarFrame.height after iOS13.0 UI Frameworks SwiftUI iOS SwiftUI 1 0 385 Jun ’20