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
Yoni Kedem
817 Pointsimage with double size
Hi, I try to set an image (size:100x100px) on button, but on the viewcontroller it's shown double size (200x200px). where I wrong?
http://oi42.tinypic.com/4i0lq9.jpg *left side: original image *right side: viewcontroller
thanks in advance
xCode 5, macbook pro retina
2 Answers
Stone Preston
42,016 Pointswhat is the size of the button? the image could be set to fill the entire button, and if that button is 200x200 that would explain it.
Yoni Kedem
817 Pointssomeone? i'm really need help in this issue, thanks!
Yoni Kedem
817 PointsYoni Kedem
817 Pointsthe size of the button is 100x100.
Stone Preston
42,016 PointsStone Preston
42,016 Pointshmm im not familiar with xcode 5, but maybe there is an option or something to test with retina display, which uses images twice the resolution of the non-retina display.
Yoni Kedem
817 PointsYoni Kedem
817 Pointsi checked on the web so many websites about this problem, and didn't find any answer. thanks anyway, i'll waiting for more ideas..