Hi everyone,
I believe I've found a behavior change (or regression) in iOS 27 around UINavigationController when pushing with animated: false to a view controller that sets hidesBottomBarWhenPushed = true.
Observed behavior
On iOS 27, the incoming view controller appears on screen at a size that still accounts for the tab bar, then expands to the full screen height on the next frame. Since there's no transition animation to mask it, the user sees the whole screen — including its background color — visibly "grow" into place.
On iOS 18 and earlier the same code showed the destination view controller instantly at its final size, with no visible resize. That's why this only surfaced after upgrading the device to iOS 27.
Minimal reproduction
The destination view controller contains no subviews, no xib, no constraints and no layout code — only a background color. So this is unrelated to the content of the pushed screen.
UITabBarController subclass with two tabs, each wrapped in a UINavigationController:
final class MainTabBarController: UITabBarController {
override func viewDidLoad() {
super.viewDidLoad()
tabBar.tintColor = .systemOrange
viewControllers = [
makeNavigationController(root: ViewController(), title: "Home",
image: UIImage(systemName: "house")),
makeNavigationController(root: PlaceholderViewController(),
title: "MENU", image: UIImage(systemName: "safari")),
]
}
private func makeNavigationController(root: UIViewController,
title: String,
image: UIImage?) -> UINavigationController {
let nav = UINavigationController(rootViewController: root)
let appearance = UINavigationBarAppearance()
appearance.configureWithOpaqueBackground()
appearance.backgroundColor = .white
appearance.shadowColor = .clear
nav.navigationBar.standardAppearance = appearance
nav.navigationBar.scrollEdgeAppearance = appearance
nav.tabBarItem = UITabBarItem(title: title, image: image, selectedImage: image)
return nav
}
}ViewController (tab 1 root) — the trigger:
class ViewController: UIViewController {
private let pushButton: UIButton = {
var config = UIButton.Configuration.filled()
config.title = "Push"
config.baseBackgroundColor = .systemOrange
let button = UIButton(configuration: config)
button.translatesAutoresizingMaskIntoConstraints = false
return button
}()
override func viewDidLoad() {
super.viewDidLoad()
view.backgroundColor = .systemBackground
title = "Home"
view.addSubview(pushButton)
pushButton.addTarget(self, action: #selector(didTapPushButton), for: .touchUpInside)
NSLayoutConstraint.activate([
pushButton.centerXAnchor.constraint(equalTo: view.centerXAnchor),
pushButton.centerYAnchor.constraint(equalTo: view.centerYAnchor),
])
}
@objc private func didTapPushButton() {
let vc = OrangeViewController()
vc.hidesBottomBarWhenPushed = true // (1)
navigationController?.pushViewController(vc, animated: false) // (2)
}
}OrangeViewController — the destination:
final class OrangeViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
view.backgroundColor = .orange
}
}Steps to reproduce
Run on an iOS 27 device or simulator.
On the first tab, tap the "Push" button.
The orange screen first appears with a height that excludes the tab bar, then expands to full screen on the next frame.
What I've already ruled out
Both conditions must be present:
hidesBottomBarWhenPushedanimatedResulttruefalse❌ Visible resizetruetrue✅ Normal slide-in transitionfalsefalse✅ No visible resizeAdditional findings:
The destination view controller has no subviews or constraints, so this isn't a layout problem in my own hierarchy.
I also verified that the same resize occurs with a completely empty UIViewController created purely in code — the destination has no storyboard, nib, or constraints at all.
Reproduces with a plain UITabBarController + UINavigationController setup — no custom transitions, no UINavigationControllerDelegate, no appearance customization beyond a plain opaque white nav bar.
Reproduces on a fresh project created from Xcode's default template.
Environment
iOS 27.0 (24A434) — device and simulator
Xcode 27.0 (27A266a)
Fresh project, default template
Questions
Is pushViewController(animated: false) onto a view controller with hidesBottomBarWhenPushed = true still a supported combination on iOS 27? The behavior change makes me wonder whether this is intended (requiring a workaround on my side) or a regression.
If it's a regression, what's the recommended way to perform an animation-less push into a tab-bar-hiding view controller without the intermediate undersized frame? I've tried loadViewIfNeeded() plus manually assigning view.frame before pushing, but I'd rather not depend on private layout timing.
I noticed the new UIView.AnimationOptions.flushUpdates (iOS 26+) documentation about flushing pending layout when animation scopes change. Is this behavior change related? Should view controllers pushed without animation be using flushUpdates?
Happy to attach the sample project and a screen recording — just let me know the preferred way to submit them.
Thanks!