简体   繁体   中英

How do you find the size/rect of a uiimage?

I have a UIImageView that has a UIImage (obviously), and I want to get the dimensions of the UIImage so that I can draw a border with rounded edges for just the UIImage (not the entire UIImageView). Thanks.

UIImage具有-size属性。

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM