ios - Move and Scale UIImageView inside UIView -


i have uiimageview , uiimageview.contentmode = .scaleaspectfit. uiimageview subview of uiview. want able move , scale uiimageview inside uiview, have no success far.

i tried overriding touchesmoved drag uiimageview around don't want part of image seen outside of uiview.

try select clip bounds not showing component outside of view

select uiview -> check mark clip bound

enter image description here


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

Python Tornado package error when running server -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -