I've image view with equal width constraint and aspect fit. I need to resize height to the same ration that image has by using constraints is it possible?
Is now:
I need something like:
Use aspect ratio and it will resize using the same proportion for both width and height
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.