iphone - how can i get the height and width of uiimage

后端 未结 8 1723
温柔的废话
温柔的废话 2020-11-30 18:03

From the URL Image in Mail

I\'m adding image to mail view. It will show full image. But I want to calculate, proportionally change the height and width of the image.

8条回答
  •  [愿得一人]
    2020-11-30 18:42

    Use the size property on the UIImage instance. See the documentation for more details.

提交回复
热议问题