You can see an expanded UINavigationBar with additional UIViews located below the title in many native Apple applications. Sometimes the simplest solutions, which lie right on the surface, are hard to see at first. This is one of them.
This repository provides a practical example for "extending" the UINavigationBar, allowing you to add custom UIViews beneath the title. Unlike using private APIs, this example demonstrates a safe and compliant approach to achieve this design element.
Article: How to place a view in the UINavigationBar and increase its height