views:

29

answers:

0

I'm at a loss with an UIImageView that I load into a scroll view.

The original jpg Image has 1600 x 2000 pixels. In Interface builder I set the image frame to 1600 x 2000.

When I run it and NSLog the image bounds I get a bounds size of 1603.565 x 1830.737 (?)!. The image also doesn't really reach down to the end, but takes an actual space of 1603.565 x 1770 pixels.

What's happening here? How can I get the image to display at its true 1600 x 2000 pixels?

I played around with

  1. the autoresize flag
  2. the stretching width and height settings,

but with no change.

Any help is most appreciated