Tabbar tab not displaying content on setActiveTab

Hi Alexander,
I’m trying to display a page in a tabbar upon loading of the tabbar. The tab is set active just fine, but a user has to click it for the content page to load. Is there a way to get the content page to load immediately without human interaction? I am calling setActiveTab on the tab, but this does not seem to work very well.

here is the answer