Hi, I have a UIScrollView, that scrolls a number of images horizontally and inside a UIImageView added programmatically. Images are displayed in "scaleaspectfit" mode. Is there a way to avoid these images from moving freely inside the UIImageView? I have attached 3 screenshots showing the image move up or down just by dragging it. Thank you
How to stop an image from moving freely in UIImageView inside a UIScrollView
Nice bike… Just a comment: when you post screen shot, it is good to reduce their size (In Preview, select Tools > Adjust size) by a factor of 2.
What constraints have you defined ? If you don't want the image to scroll vertically, make the View equal height with scroll.