Jump to content
John van de Waeter

White screen on iPhoneX

Recommended Posts

Hi All,

App works great on all iOS and iPhones, except on iPhoneX.

Customer reports only a white screen, and further nothing happens.

Unfortunately I don't have an iPhoneX available to test...

 

Delphi 12.1, Xcode 15.4, Skia enabled, target iPhoneOS 17.5.

 

Anyone any idea?

tia,

John

Share this post


Link to post

iPhone X only supports iOS up to version 16.7.5...or rather the other way around. iOS 17 is not supported by iPhone X.

Share this post


Link to post
18 minutes ago, Sherlock said:

iPhone X only supports iOS up to version 16.7.5...or rather the other way around. iOS 17 is not supported by iPhone X.

On my iPhone 6s with iOS 15.8.2 it works great. I'm not using any new stuff that would require iOS 17.2.

Are you saying iPhoneX is more sensitive to the build target?

 

 

Share this post


Link to post
25 minutes ago, John van de Waeter said:

On my iPhone 6s with iOS 15.8.2 it works great. I'm not using any new stuff that would require iOS 17.2.

Are you saying iPhoneX is more sensitive to the build target?

Interesting. I have no iPhone X, I just found this information at Apple and thought it might be an explanation.

Share this post


Link to post

iPhone X with iOS 16.7.8 here, light themed

Delphi 12.1 (with patch 1), Xcode 15.4, Skia enabled, target iPhoneOS 17.5.

Blank FMX apps runs ok

 

iphoneX.thumb.jpeg.a1398945c3897b82ecc37d248ddebce6.jpeg

 

A possibility is that a specific component in your app fails under this specific configuration. It would be great if you can work closely with your customer to pinpoint the issue, by getting specific details of the device (iOS version, theme, settings) or to offer test build variations through TestFlight.

Share this post


Link to post

Found it. Mea culpa.


In delphi 12.0 I applied a patch in FMX.Platform.iOS, like adding this line: WindowManager.RootViewController.Super.init;

as per

and thereby saving that file in the source-dir of my project. It nicely copied into the new source-dir, I didn't notice.)

Removing the file from my source-dir did the job.

John


 

  • Like 2

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×