iOS Question Is there a Variants tutorial

rfresh

Well-Known Member
Licensed User
Longtime User
I don't fully understand how Variants work. I have two in my designer: iphone and iPad. I have to choose one, say iPad and compile my app. What happens if I try to run it on my iPhone and I had not selected the iPhone variant?

Thank you...
 

rfresh

Well-Known Member
Licensed User
Longtime User
Thanks.

I have two variants (iPhone and iPad). Is there a way to get the device screen height in the layout script (to determine iPhone or iPad) so I can make some minor button position tweaks using an IF statement?

I read that Activitysize is diagonal size in inches but I couldn't find out what that value is on an iPad/iPhone as it's always given in screen height and width.
 
Upvote 0
Top