I am having trouble making it so that the navigation bar will have an optimised display for both the iPhone X and all other iPhones and iPads.
I have read on the apple developer documentation that the navigation bar is meant to adapt so that the title is not hidden by the sensor housing on the iPhone X.
I have therefore tried making a navigation bar as normal on an iPhone 8 on the Interface Builder (and adding height 65 constraints, as well as top, left and right attachment constraints).
When I run in the simulator, the iPhone X shows the navigation bar through the sensor housing, thus meaning the title isn't visible.
Any help on how to get navigation bars working for all iPhones and iPads and the iPhone X at the same time would be much appreciated.
Thanks in advance :)