The B4X Drawer is a very attractive feature for deploying a menu. With iPhones which all now have tall & thin screen sizes in portrait you need to make the drawer not too wide otherwise there is the danger you will take up almost all of the screen width when the menu is in view. A bigger problem comes when you re-orientate to landscape. If the screen notch happens to be on the left side of the screen it blanks an area of your content and some menu options are partially obscured.
It would make sense to move the menu CLV contents further away from the notch when in landscape but as you can't tell which way is which it becomes empty space when the notch is on the right. I have tried a number of methods but it appears that there is no designer script or Page_Resize solution that will cater for all situations.
Is it possible to limit screen drawing area when in landscape so that you can use an uninterrupted rectangular screen width that stops short of the notch?
Otherwise, what is best practice for using a menu here? .....Or should I fall back on the unscientific route of omitting #iPhoneOrientations: LandscapeRight !
It would make sense to move the menu CLV contents further away from the notch when in landscape but as you can't tell which way is which it becomes empty space when the notch is on the right. I have tried a number of methods but it appears that there is no designer script or Page_Resize solution that will cater for all situations.
Is it possible to limit screen drawing area when in landscape so that you can use an uninterrupted rectangular screen width that stops short of the notch?
Otherwise, what is best practice for using a menu here? .....Or should I fall back on the unscientific route of omitting #iPhoneOrientations: LandscapeRight !
Last edited: