objective c - UIImageView fit to View frame size -


When I create a new ViewController and I pull it UIImageView, the UIIV increases to fit the fullscreen with width and height Is the screen? If I make changes between 4 and 3,5 "screen, then UIImageView changes its height dynamically.

 But when I try to insert a UIImageView in a scene with more elements, then this UIImageView is set with a ratio of 4: 3 ratio, and if I make it full screen But try to change again, when I change between screen sizes, then a part of the image The Ipa. </ p> <p> <img src =

How do I fix it Can i

short answer: Use auto layout


Long answer :

  1. Select the image view, left , on the right , top , bottom < /var>
  2. Select the image view, update the frame

     step1


     step2

Comments

Popular posts from this blog

c# - Roxy file manager in MVC doesn't accept session path -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -

java - Ajax call to jsp and jsp redirecting to further jsp -