Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Button looks fine in xcode when I test for iPhone6, but when I test on a 4 or 5 the button is squished.

I'm currently doing the 'Build a simple iphone app with objective-c' and I have an issue. I'm using graphics, etc. instead of just colors for the background and the button... everything looks and works fine on all iPhone devices EXCEPT, I get a squished button on the 4 & 5, but not on 6. The background sizes perfectly on all devices.

Hi Justin, are you using scalable graphic formats? If not, that may be the case. If so, please provide some more information, I'll be glad to help you out.

Leviticus. Thanks for the quick response. I was using a PNG. I switched to an illustrator PDF and it's working fine... thanks.