Hi @Wall-E,
You mentioned to me to use this.nav.setRoot(TabsPage)
, but still not sure where I should add that line.
Don’t forget, before my “TabsPage”, I have other pages and I want to be able to go back to the previous page (the one before going to the tab one).
Page 1 (page1.ts)–> Page 2 (page2.ts) --> go to TabsPage (TabsPage.ts) --> Tab 1 (tab1.ts)
I saw there is this.nav.pop
and this.nav.popTo
. So what I tried is from tab1.ts, I added a back button and called this.nav.pop()
and this.nav.popTo(page2.ts)
. None of them gave me the previous page. I could understand that the first “pop” did not work, but don’t know why the “popTo” did not work.
Thanks in advance