iOS Question The App is not showing right on different iPhone models

semar

Active Member
Licensed User
Longtime User
Hi all,
I've recently got my app approved from iTunes. Here is the link on the "Share your Creations" forum:

https://www.b4x.com/android/forum/threads/wordsgame-an-app-to-learn-languages.85810/

I've given the link to the App to some customers, and they succeeded to download and install it.

However, they report that the App is not correctly displayed, as they had another resolution. The buttons that normally are shown on the bottom of a layout, are not displayed.

I've developed and tested the App on an iPhone 6. The customers have however an iPhone 5se. I can replicate the problem when I change in my iPhone the display setting. iPhone 6 has the possibility to set it to "Standard resolution" and "Bigger resolution". WIth the first one the App is displayed fine, with the second one I see that the buttons are indeed no more displayed.

I thought that it's a problem with that iPhone setting, but the customers does not find that settings page.

Is there something obvious that I've forgotten to code in the App ? Why it displays fine in "Standard resolution" and not in the other one ? I thought that the code would take care automatically of such changes in the resolutions when changed, but it seems that it's not the case.

Any help would be greatly appreciated.

Sergio
 
Last edited:

semar

Active Member
Licensed User
Longtime User
Are the buttons anchored to the bottom of the screen (in the designer)?
They are anchored to the top of the screen. Should they be anchored to the bottom ?
One thing that makes me think, is that in the main properties of the layout, the "Handle resize event" is unchecked.

[EDIT]
I guess you nailed it, Erel. The other layouts do have buttons at the bottom, but these are still visible after I changed the resolution on the iPhone, because they are anchored to the bottom. My fault .. it seems to me I should quickly submit a new version to iTunes.. argh !
This time I'll test the app with both resolutions prior to submit it, lesson learned :D
[/EDIT]
 
Last edited:
Upvote 0

BillMeyer

Well-Known Member
Licensed User
Longtime User
There is a strange phenomenon in an iPhone that took me a few days to work out. When clients upgrade from a previous model (lets say for example - from an iPhone 6 to 7+) and it is done automatically, then the new phone will put itself in ZOOMED mode to accommodate the previous models resolution (the setting can be found Settings->Display & Brightness->View - choose Standard or Zoomed) - this changes the reported resolution and believe me, if you have developed on an iPhone 6+ and everything is perfect AND you know your client is also testing on a 6+ but nothing works on his phone - a hair pulling experience !!

I resolved the issue by:

  1. Using 2 variants 414 x 736 and second 375 x 667 (using 375 x 667 as my layout size and making sure that as far as possible all items are anchored properly and then creating 414 x 736 as a "just in case" variant and making sure that my anchors have pulled through)
  2. Testing on both modes on my iPhone 6+ - the strange thing is that doing it this way the displays work fine on an iPhone 5 up to an iPhone 8+

Now a new "thing" is about to stick it's head out here as well.
In your code you can target a specific model (iPhone/iPad or both). Previously you could develop for either/or and place it on the appropriate store - now that apple have combined these stores into 1 - let the fun and games begin - you will now be forced to take a longer harder look at your screen/layout design as your "user experience" will have to cover all these resolutions - both Portrait and Landscape !!

Good Luck
 
Upvote 0

semar

Active Member
Licensed User
Longtime User
Thanks BillMeyer for your contribute. I've not yet digged in the Variant world, I'll take a closer look soon. Thank you for awaking my interest on it.

Anyway, I've already prepared a new version and have tested it with the two different resolutions I have on my iPhone 6. It works and I think it should work by the customers too.
Soon I'll submit the new version to iTunes, it's time to cross fingers :D
 
Upvote 0
Top