UIImageView change Width and Height

后端 未结 8 824
-上瘾入骨i
-上瘾入骨i 2021-02-13 10:12

I\'ve read various posts on here asking similar questions... I\'ve tried various ways that were posted including bounds and frames etc. including the following:



        
8条回答
  •  南旧
    南旧 (楼主)
    2021-02-13 11:00

    You don't have to write a whole book, you can copy that code.

    I believe the UIImageView always draws the image at 0,0 at a 1.0 scale. You'll need to resize the image if you want to continue using the UIImageView.

提交回复
热议问题