Reputation: 3
I am working on a universal app and am trying to figure out my image sizes for Iphones and Ipad.
I set up my view to compact X any to represent the Iphone and put the UIImageView to the size that looks good when using the preview assistant editor. Then I switched to the Regular x Regular view to represent the Ipad and scaled my UIImageView down to the point where it is so thin I can barely see it yet on the preview assistant editor the UIImageView still covers more than 1/3 of the Ipad screen.
How can I fix this issue? (I've only ever worked on Iphone apps so I apologize if this is very basic)
Upvotes: 0
Views: 69
Reputation: 9830
I suggest you use wAny hAny
. Then you can use auto-layout to size your image. Once you set it up correctly, then the image will size according to the device size.
Here are a couple tutorials to get you started with auto layout:
Upvotes: 0