I’m very new with uiimageviews and I had a question about UIImagePickerController. In my app the user selects an image, which is then displayed on a uiimageview. Then it resizes the picture so every part of it fits on the imageview, causing a distorted image. Is there a way to have the imageview not resize the image to fit its boundaries?
Thanks!
EDIT: While the first answer does center the image, I would also like the user to be able to pinch the image to zoom in and out
EDIT #2 The answer I choose set me in the right direction for properly displaying the image. For zooming, i found this to solve it iphone uiscrollview and uiimageview – setting initial zoom
Your image view’s content mode is probably set to either scale to fill or scale to fit. Try setting it to top left, center, etc. depending on what you want.