cooperlegend Active Member Licensed User Longtime User Jun 24, 2019 #1 I have create two variants for the iPhone, but my App is always using just one of the variants when running the App. Could the problem be with the custom size I am using? 800x480 and 480x800 . The reason for these sizes is simply that I converted this over from the B4A android version of the App using the converter tool. I am trying to create an App that shows in Portrait for the login screens but then changes to Landscape for the input screens. I haven't found a good solutions as yet that works properly. so the idea was to just create both screens and then if in the wrong orientation then overlay the screen with a message saying "rotate". Anyone got any good ideas? The Android version is so simple to achieve this. Apple version is causing me a big headache as it is so restricted. Thanks
I have create two variants for the iPhone, but my App is always using just one of the variants when running the App. Could the problem be with the custom size I am using? 800x480 and 480x800 . The reason for these sizes is simply that I converted this over from the B4A android version of the App using the converter tool. I am trying to create an App that shows in Portrait for the login screens but then changes to Landscape for the input screens. I haven't found a good solutions as yet that works properly. so the idea was to just create both screens and then if in the wrong orientation then overlay the screen with a message saying "rotate". Anyone got any good ideas? The Android version is so simple to achieve this. Apple version is causing me a big headache as it is so restricted. Thanks
Erel B4X founder Staff member Licensed User Longtime User Jun 25, 2019 #2 cooperlegend said: 800x480 and 480x800 Click to expand... There is no meaning to these numbers without the scale. Is it 1.0 ? Upvote 0
cooperlegend said: 800x480 and 480x800 Click to expand... There is no meaning to these numbers without the scale. Is it 1.0 ?
Erel B4X founder Staff member Licensed User Longtime User Jun 25, 2019 #4 800x480, scale = 1 is a 6 inch device. It is larger than most phones. You should create smaller variants. Use the default phone sizes (you will see them when you click on the New Variant button). Upvote 0
800x480, scale = 1 is a 6 inch device. It is larger than most phones. You should create smaller variants. Use the default phone sizes (you will see them when you click on the New Variant button).
cooperlegend Active Member Licensed User Longtime User Jun 25, 2019 #5 But I use my own scaling routines to resize to any device so the initial size is not an issue for me. But is this causing the rotation to not pick up the new orientation ? Upvote 0
But I use my own scaling routines to resize to any device so the initial size is not an issue for me. But is this causing the rotation to not pick up the new orientation ?
cooperlegend Active Member Licensed User Longtime User Jun 25, 2019 #6 The client wants to show the App in Portrait for the login and Landscape for data entry, surely this is somehow possible ??? Upvote 0
The client wants to show the App in Portrait for the login and Landscape for data entry, surely this is somehow possible ???
Erel B4X founder Staff member Licensed User Longtime User Jun 25, 2019 #7 First step is to determine why it doesn't load the variant that you expect it to load. Trying to load a large variant on a small screen is a mistake. You should resize the variants. Upvote 0
First step is to determine why it doesn't load the variant that you expect it to load. Trying to load a large variant on a small screen is a mistake. You should resize the variants.