How Swipe back from side menu in Ios?

Hi, I’m creating an ionic app with tabs and side menu. I created a page named menu, and a page named tabs, not all pages must have tabs at the end. When I push a page from the menu that’s not must have tabs, the swipe back for iOS is not working and I think that there are problems regarding the navigation.
Can someone tell me how to combine menu and tabs in the right way? Thank you

This is my code

openPage(page: PageInterface){