开发者

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

开发者 https://www.devze.com 2023-01-13 21:13 出处:网络
I have a UIImageView that has a UIImage (obviously), and I want 开发者_JAVA百科to get the dimensions of the UIImage so that I can draw a border with rounded edges for just the UIImage (not the entire

I have a UIImageView that has a UIImage (obviously), and I want 开发者_JAVA百科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 has a -size property.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号