Checking device width
LyboTech
Member Posts: 135
So, I got an actor I want placed in different positions depending on device width (iPhone 4 vs 5).
Should it change if device.width > 960 or 480 ?
Thanks in advance
Best Answer
-
Armelline Posts: 5,374
- At least that's always worked for me.
If you're doing multiple versions including Android, you can also do it based on aspect ratio by dividing the width/height.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
Answers
@Armelline Thanks for quick reply buddy! At the moment only looking to do the iPhone, but thanks. I'll keep in mind, have a nice day
Weird thing that happened to my post when you accepted the answer Oh well, it basically said 480, for anyone else looking.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support