开发者

Problem with UIImageView when resizing UIView

开发者 https://www.devze.com 2023-03-07 12:31 出处:网络
This is the problem that I have: I have an UIImageView inside an UIView. Then I rotate the UIImageView 45 degrees using gestureRecognizers with 2 fingers.

This is the problem that I have:

I have an UIImageView inside an UIView.

Then I rotate the UIImageView 45 degrees using gestureRecognizers with 2 fingers.

Everything seem good now but when I start resize the UIView about -10px width, height by changing the UIView's f开发者_开发问答rame, the UIImageView become very ugly, it does not resize with ratio. It become stretch.

It does not happen when I rotate the image with 90 or 180 or 270 degrees. the UIImage resize OK.

Sorry for my bad English.

Tung Do


Redraw the image after the pinch.

0

精彩评论

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