Hi Matthias,

I just tested this against the simulator with a stack that just has an open 
stack handler to set "iphoneUseDeviceResolution true, true", and a button which 
puts the screenRect into a field.

The only thing I set up in the standalone builder settings was the three 
different iPhone splash screens.

It works, on the 4" retina version I get "0, 0, 640, 1136" as expected.

This is against the iOS 6.0 SDK with a freshly updated LC 6.0.2 - although I 
expect it would work with later SDK versions too.

So, I don't think you're missing anything you should be doing but it looks like 
either something in your stack is messing with the screenRect (is that 
possible?) or for some reason you're not getting the 4 inch retina splash 
screen image correctly included in your app bundle (you can check inside the 
app bundle - it has to be called default-5...@2x.png).

Mark


________________________________
 From: Matthias Rebbe <matthias_livecode_150...@m-r-d.de>
To: How to use LiveCode <use-livecode@lists.runrev.com> 
Sent: Tuesday, 25 June 2013, 10:27
Subject: iOS App from 2012 - iphone5 pages are resized in simulator
 

Hi,

i have to do some adjustments to an iOS App i released in 2012.
The app supports all 3 resolutions (iphone 3/4/5). For each resolution i 
created separate pages.
This works in the released app w/o problems.

Now when opening the  app in the simulator or with my iPhone 5, i notice
that the screenrect always is detected as 640x960 instead of 640x1136. Is there 
something i am missing?

I have added splashscreen for all iphone types. I thought that is the way it 
has to be done.
At least that´s how it worked when i released it in 2012. I opened the old 
stack from 2012, but even this stack shows this behaviour now
in the iphone 5simulator and iphone 5 device in test mode. Is this caused by LC 
6.0.2 or a newer iOS sdk? 
And most important how can this be fixed?

Regards,

Matthias
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to