Function called when ion-tab page got back from the stack


#1

I want to know which function is called everytime when a page representing a tab (child of tabs) is shown ?
I want it to be run even if it’s just a pop of page that led me to the page containing the tabs.

I’ve tried the following functions of the page loaded in tab but none of them was invoked :

  • constructor
  • ngOnInit
  • ionViewDidLoad
  • ionViewWillEnter
  • ionViewDidEnter

The reason I need it is : I want to update the tab according to what happened in popped page.