Subnavbar height

Hi, i am building an app with different tabs. I am working in the ios theme and for some reason , are all the subnavbars taking the same height on every page. How can i change the height of a subnavbar per page?

Taking the same height as the subnavbar on the other page:

The second one has to be shorter because it is overlapping content.