rfresh Well-Known Member Licensed User Longtime User Jun 16, 2019 #1 I don't fully understand how Variants work. I have two in my designer: iphone and iPad. I have to choose one, say iPad and compile my app. What happens if I try to run it on my iPhone and I had not selected the iPhone variant? Thank you...
I don't fully understand how Variants work. I have two in my designer: iphone and iPad. I have to choose one, say iPad and compile my app. What happens if I try to run it on my iPhone and I had not selected the iPhone variant? Thank you...
mangojack Expert Licensed User Longtime User Jun 16, 2019 #2 this does not answer you question but .. have you seen this thread , it might be of interest. https://www.b4x.com/android/forum/threads/ipad-running-iphone-app-which-variant-is-safe-ok.86594/ Upvote 0
this does not answer you question but .. have you seen this thread , it might be of interest. https://www.b4x.com/android/forum/threads/ipad-running-iphone-app-which-variant-is-safe-ok.86594/
Erel B4X founder Staff member Licensed User Longtime User Jun 16, 2019 #3 If I remember correct it is covered in the visual designer video tutorial: https://www.b4x.com/etp.html?vimeography_gallery=1&vimeography_video=254439386 Tip: use as few variants as possible. Upvote 0
If I remember correct it is covered in the visual designer video tutorial: https://www.b4x.com/etp.html?vimeography_gallery=1&vimeography_video=254439386 Tip: use as few variants as possible.
rfresh Well-Known Member Licensed User Longtime User Jun 16, 2019 #4 Thanks. I have two variants (iPhone and iPad). Is there a way to get the device screen height in the layout script (to determine iPhone or iPad) so I can make some minor button position tweaks using an IF statement? I read that Activitysize is diagonal size in inches but I couldn't find out what that value is on an iPad/iPhone as it's always given in screen height and width. Upvote 0
Thanks. I have two variants (iPhone and iPad). Is there a way to get the device screen height in the layout script (to determine iPhone or iPad) so I can make some minor button position tweaks using an IF statement? I read that Activitysize is diagonal size in inches but I couldn't find out what that value is on an iPad/iPhone as it's always given in screen height and width.
Erel B4X founder Staff member Licensed User Longtime User Jun 17, 2019 #5 Code: Copy 'Example If 100%x > 800 Then Button1.Left = 30 End If Upvote 0
Andrew (Digitwell) Well-Known Member Licensed User Longtime User Jun 22, 2019 #6 there is a readonly boolean property on the Application called "iPadDevice". Upvote 0