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 -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -