This is what it looks like in iOS 26 beta 4. The toolbar is behind the tabbar:
All I did in this demo project is embed the default view controller in a navigation controller and then embed that in a tabbar. Here's the view controllers code:
override func viewDidLoad() {
super.viewDidLoad()
title = "Hello World"
let actionButton = UIBarButtonItem(title: "This is a button on the toolbar", style: .plain, target: self, action: #selector(buttonTapped))
self.navigationController?.isToolbarHidden = false
self.toolbarItems = [actionButton];
}
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: