CarPlay Hide Empty Tab on CPPointOfInterestTemplate

Hi, Looking for an option to get rid of empty tab bar on top of the subject template. it takes a lot of screen estate and i don't plan to use it for app functionality.

It is marked with red on the picture.

As per documentation here: Link1 there is nothing about the tabs. However in CarPlay programming guide Carplay it seems like the template doesn't have this top tab:

where is the truth? can it be hidden?

Thank you!

Answered by Frameworks Engineer in 721041022

Hi! Please give this a try in the iOS 16 beta. New in iOS 16, if your point of interest template does not have any leading nor trailing bar buttons AND it is the root template in your hierarchy, the navigation bar should hide as it appears in the image in the programming guide.

Accepted Answer

Hi! Please give this a try in the iOS 16 beta. New in iOS 16, if your point of interest template does not have any leading nor trailing bar buttons AND it is the root template in your hierarchy, the navigation bar should hide as it appears in the image in the programming guide.

First of all, thank you for you reply! understood!

Will the init method for the template change in iOS 16? Question if i distribute my app now with iOS 15.5 in mind once iOS 16 available, does it mean that "no tab without buttons" behaviour will be automatically enforced? will in need to create a new build or put some @available(iOS 16, *) conditions?

Thank you!

CarPlay Hide Empty Tab on CPPointOfInterestTemplate
 
 
Q