UIView fine for iPhone 4in, but squashed in iPhone 3.5in
Posted
by
coopersita
on Stack Overflow
See other posts from Stack Overflow
or by coopersita
Published on 2012-10-06T22:43:03Z
Indexed on
2012/10/07
15:37 UTC
Read the original article
Hit count: 148
I started a new project in the new Xcode, and I see that my default the main window is set to 320x548. I'm fine with that, but when I test my app, a view I added to my main xib, which is supposed to be 280x280, looks more like 280x200 when testing on 3.5in devices.
I've tried changing the settings for that view in the xib, but nothing seems to affect it.
How do I ensure background compatibility so that in older devices the view is the same size?
© Stack Overflow or respective owner