I Am zooming in UIImageview
but it show the blank space for the images that are landscape. I am using ContentMode AspectFit
For UIImageView
So how can i change the Height of Image view That can Fit to image height Because My Scrollview Works Perfectly But Imageview Not working Like scrollview also i am using autolayout . so How can i change the height of my UIImageView
Depending on Image.
Asked
Active
Viewed 169 times
0

Jay Bhalani
- 4,142
- 8
- 37
- 50

vp2698
- 1,783
- 26
- 28
-
Check this http://stackoverflow.com/questions/7645454/resize-uiimage-by-keeping-aspect-ratio-and-width – Vishal Sharma Oct 09 '15 at 11:44
-
By this you can maintain your aspect ratio & resize image. – Vishal Sharma Oct 09 '15 at 11:44