views:

460

answers:

3

Hi,

I have 6 images, all the same size (65x65). When I create an imageview and add this image through the "image view attributes" in the interface builder, the picture is very small. Maybe 5x5. The pictures also show up small when viewing them in the resource folder however, when running the program, they are the right size. Is there some setting I need to change to get the images to show the full size/full resolution within the interface builder?

Thanks.

+1  A: 

Adjust the resolution of your image files to 72 dpi.

Nikolai Ruhe
A: 

Make sure your UIImageView is active, then go to Layout -> Size to Fit (Command + '=' should also do the trick). This way the UIImageView will resize to fit the image and it'll look nice when looking at your stuff in IB.

Canada Dev
A: 

Thanks for the replies guys. The problem was with the resolution of my image. Thanks Nikolai! I forgot I had recently done some images for print and had the resolution set to 300. After downsizing to 72, the images are nice and clear in IB! Thanks again.

You are welcome, Brad. On SO, when you find your question answered, usually you would accept one of the answers.
Nikolai Ruhe