Detecting iPhone 5 or 4? How to move accordingly?
MillionairApps
Member Posts: 110
Hello
Is there a simple demo anywhere, where I can see how to detect screen size of the iPhone?
I just need to adjust the position of the buttons, but can't seem to find a thing that does this. Well in GS viewer it doesn't when I change the size using custom resolution.
Thanks
Is there a simple demo anywhere, where I can see how to detect screen size of the iPhone?
I just need to adjust the position of the buttons, but can't seem to find a thing that does this. Well in GS viewer it doesn't when I change the size using custom resolution.
Thanks
Comments
Landscape.
iPhone 5
If devices screen width = 568.
Change attribute self.position.X to 50
iPhone 4
If devices screen width = 480.
Change attribute self.position.X to 100
It's that simple