height of tabbar swiftui code example Example: get tabbar height swift CGFloat tabBarHeight = self.tabBarController.tabBar.frame.size.height;