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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -