[英]How can I calculate the crop size (rect) of the UIImage with different resolution
[英]How do you find the size/rect of a uiimage?
我有一個具有UIImage的UIImageView(很明顯),並且我想獲取UIImage的尺寸,以便可以為UIImage(而不是整個UIImageView)繪制帶有圓角邊緣的邊框。 謝謝。
UIImage具有-size屬性。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.