I'm having fun experimenting with creating stacks for iOS, and I'm okay with resizing vector objects. But having trouble figuring out how pixel sizes work...
I scaled an imported graphic in the IDE but it shows at the original size on the iPhone. I'm also a little confused as to what stack size I should be working with when making something for the iPhone 5 (for example).
Any pointers would be great!
Pixel size in iOS?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Pixel size in iOS?
Technical Writer, Meta
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
Re: Pixel size in iOS?
Answering my own posts - it's becoming a habit, sorry! (Also the first sign of madness...)
It looks like at least part of the answer to my question lies in the fullScreenMode property, including the info in the LC dictionary. It's getting late, I'll do tests the next time I have a chance.
Of course if anyone has comments please don't hold back!
It looks like at least part of the answer to my question lies in the fullScreenMode property, including the info in the LC dictionary. It's getting late, I'll do tests the next time I have a chance.
Of course if anyone has comments please don't hold back!
Technical Writer, Meta
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
Re: Pixel size in iOS?
thatKeith...
With your image, it seems like you did not 'lock the position' of the image after you had scaled it. As for what size you should work with when building for the different iPhones... I use 320 x 480 for iphone 4 and 320 x 568 for iphone 5... (wait for the flames). I still find it easier to place objects when the stack first opens when building a stack that might run on a 4 or a 5, rather than using the fullScreenMode...
A simple stack attached... run it in the simulator for the 3.5" and for the 4"... the bottom group places nicely...
dixie
With your image, it seems like you did not 'lock the position' of the image after you had scaled it. As for what size you should work with when building for the different iPhones... I use 320 x 480 for iphone 4 and 320 x 568 for iphone 5... (wait for the flames). I still find it easier to place objects when the stack first opens when building a stack that might run on a 4 or a 5, rather than using the fullScreenMode...
A simple stack attached... run it in the simulator for the 3.5" and for the 4"... the bottom group places nicely...
dixie
- Attachments
-
- phonesizes.livecode.zip
- (1.75 KiB) Downloaded 289 times
Re: Pixel size in iOS?
Thanks Dixie – I've grabbed the stack, I'll dig into it and learn. 
Keith

Keith
Technical Writer, Meta
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist