james_sgp Active Member Licensed User Longtime User Feb 18, 2023 #1 Hi, I`ve create a B4X app (B4a & B4i), but I`m having a problem with a bottom ASAdvancedTabMenu menu not showing correctly on IPhone 14 (bottom is hidden), it looks fine on iPhone SE. So I`m guessing (rightly or wrongly) is related to the safearea? Can someone advise how I find the usable area so I can move the ASAdvancedTabMenu? James Attachments Picture1.png 213.8 KB · Views: 572
Hi, I`ve create a B4X app (B4a & B4i), but I`m having a problem with a bottom ASAdvancedTabMenu menu not showing correctly on IPhone 14 (bottom is hidden), it looks fine on iPhone SE. So I`m guessing (rightly or wrongly) is related to the safearea? Can someone advise how I find the usable area so I can move the ASAdvancedTabMenu? James
Alexander Stolte Expert Licensed User Longtime User Feb 18, 2023 #2 B4X: Private Sub B4XPage_Resize (Width As Int, Height As Int) AS_TabMenuAdvanced1.mBase.Top = Height - AS_TabMenuAdvanced1.mBase.Height - B4XPages.GetNativeParent(Me).SafeAreaInsets.Bottom End Sub Upvote 0
B4X: Private Sub B4XPage_Resize (Width As Int, Height As Int) AS_TabMenuAdvanced1.mBase.Top = Height - AS_TabMenuAdvanced1.mBase.Height - B4XPages.GetNativeParent(Me).SafeAreaInsets.Bottom End Sub