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

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -