if isStatusBarHidden { view.frame = baseView.bounds } else { let inCallStatusBarOffset = StatusBarManager.shared.inCallStatusBarOffset view.frame = CGRect(x: 0, y: inCallStatusBarOffset, width: baseView.bounds.width, height: baseView.bounds.height - inCallStatusBarOffset) } }