I use the ionic tabs. I need to know when the page is switched. For example, when you switch to the “Feed” tab, i need to run the update process. I tried to use the ionChange, but it is not called when switching tabs.
<ion-tabs preloadTabs="false"> <ion-tab (ionSelect)="chat()"></ion-tab> </ion-tabs>