ios - Adjust UIView inside UIScrollView MultiOrientation -


in app receive image dynamically. after process image need add views on top of image (after user can drag views). accomplish that, put image on uiimageview , add views on uiimageview.

according on dimension need adjust uimageview fit screen, but maintain original scale.. user can make zoom.

the main problem appears when user rotate device. need adjust uiimageview , it´s subviews correctly maintain relationship image.

for example in portrait:

enter image description here

and lanscape:

enter image description here

my doubts:

  1. correctly adjust uiimageview´s size, maintainig it´s original scale.
  2. adjust subviews maintain relation position uiimageview.

thanks in advance


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -