I am developing an application with the same paging system as Facebook Messenger. That is a button at the top left that opens a menu (which is a modal).
A button list is displayed in this modal, which opens pages.
On the iphone x when opening a page from the modal, the nav-bar is in the system bar of the phone. While all open pages outside the modal, support the Iphone X.