Page 1 of 1

White screen on iphone simulator

Posted: Tue Sep 03, 2013 12:46 am
by Andrew Wing

Hi

I have exported my appery app as an xcode project. Loaded up into Xcode and am able to build the project successfully. Problem I am facing is when I attempt to run the app on the simulator or device.

What happens is the app loads ok (both on simulator & iPhone), shows the initial screen for the app for about 1 second then goes to a blank white screen which appears to be my launch image.

xcode 4.6.3, ios 6.1

Any ideas what would be causing this

cheers
andrew


White screen on iphone simulator

Posted: Tue Sep 03, 2013 3:14 am
by Illya Stepanov

Hello Andrew - can you make a screen shots of this screens?

I can't reproduce it on any project in the xCode right now.


White screen on iphone simulator

Posted: Tue Sep 03, 2013 4:02 am
by Andrew Wing

Hi Illya

I cant really get a meaningful screen shot. All that happens is that the start screen of my app shows for about 1 second, then it disappears / is replaced by a blank white screen that fills the complete screen of the simulator or device. Its like a launch image or something is being shown over the top of my app?

thanks
andrew


White screen on iphone simulator

Posted: Tue Sep 03, 2013 4:11 am
by Illya Stepanov

Andrew, can you share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a - we'll take a look.


White screen on iphone simulator

Posted: Tue Sep 03, 2013 4:46 am
by Andrew Wing

Hi Illya

I have now shared. Another thing I have just noticed. When I test the app from inside appery in the web browser test feature on my macbook running safari 6.0.5 I get the same behaviour.

When i run on windows 7 ie & firefox, working fine.

So I have narrowed it down to something related to safari and jquery.

Appreciate if you could have a look, this one is driving me crazy.

andrew


White screen on iphone simulator

Posted: Tue Sep 03, 2013 5:06 am
by Illya Stepanov

You have a blank mobile screen called 'Screen_Start' in your project which is set as a starting screen in project properties. Remove it or place some interface in it.


White screen on iphone simulator

Posted: Tue Sep 03, 2013 5:15 am
by Andrew Wing

Hi Illya

I dont think that is the problem. That screen "Screen_Start" has some js that redirects to a login screen, that part is working, my login screen is shown. But then after about 1 second the login screen disappears.

This only happens on safari.

andrew


White screen on iphone simulator

Posted: Tue Sep 03, 2013 5:45 am
by Andrew Wing

Hi Illya

This one is fixed now. I just removed "Screen_Start" and moved the js to my app login screen. Its working now on safari, iphone simulator and iphone.

Strange one!

thanks for your help.

andrew