I have a tab group with two tabs. The tab name is being displayed two times, one under the tab icon on the bottom and one on the top of the app just under the status bar.
I want to remove the top tab title on iOS.
Thanks.
Regards
I have a tab group with two tabs. The tab name is being displayed two times, one under the tab icon on the bottom and one on the top of the app just under the status bar.
I want to remove the top tab title on iOS.
Thanks.
Regards
You can set navBarHidden:true
to your Window inside the tab to remove the navigation bar.
Because you want the navbar to remain, and don't want a title. Don't set one! By default there is no title on the window, and window title and tabbar title are separate! This is how it should look after:
<TabGroup>
<Tab title="required">
<Window></Window>
</Tab>
</TabGroup>
Same structure can be applied when you use classic.
If you want to remove the title at some point instead of always, you can just call window.title = "";
and it will be removed. Of course replace "window" with the variable or alloy id (in which case it is $.id
)