Programmatically detect Tab Bar or TabView height in SwiftUI
As bridge to UIKit is officially allowed and documented, it is possible to read needed information from there when needed. Here is possible approach to read tab bar height directly from UITabBar // Helper bridge to UIViewController to access enclosing UITabBarController // and thus its UITabBar struct TabBarAccessor: UIViewControllerRepresentable { var callback: (UITabBar) -> Void … Read more