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 -

php - Cannot override Laravel Spark authentication with own implementation -

What is happening when Matlab is starting a "parallel pool"? -