Switch tabs and push page on tap

I have an app with tabs at the bottom of the screen, and one of those tabs loads another set of tabs at the top of the screen. When I am on that tab, I want to be able to tap a link that will switch to a different tab and push the page so that I only have the tabs at the bottom. Or be able to push the page on the current tab, but hide the tabs at the top of the screen. Is this possible?

Yes it is possible…