ios - UIImageView not rotating when device orientation changes -
i have vc 2 imageviews. 1 takes whole screen, other larger , can moved around on screen (pan gesture).
when device changes orientation static view changes orientation, or updates frame maybe (automatically).
the second pan uiimageview not move. there reason this, or switch make happen somewhere possibly in storyboard properties of uiimageview itself? view move too.
i understand option use methods confirm orientation has completed change , transform imageview myself, not problem... checking not missing me automatically first.
ensure using correct autoresizemasks on imageview. provide code or storyboard description more complete answer. -additionally if using autolayout, may need add appropriate constraints (making larger view may confuse intention without proper suggestions via constraints).
Comments
Post a Comment