I have a UIImageView that I want to automatically adjust its size varying on the device its being ran on, my application is universal meaning 4s-ipad Air. It seems every combination of Auto Layout constrain I attempt, there's a conflict. What combination of constrains should I use to center this ImageView in the container as well as make it adjust its size?
update
So Everything looks perfect in the preview below:
but when i run it on iphone 4S, its not there, and when I change the orientation on any other screen it disappears, what would be a solution?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.