开发者

Changing size of UIView

开发者 https://www.devze.com 2023-02-12 07:12 出处:网络
I\'m trying to modify the size of an UIView by changing the frame\'s size, not by scaling. At the same time I want to rotate or translate the view, but as the documentati开发者_高级运维on says the fra

I'm trying to modify the size of an UIView by changing the frame's size, not by scaling. At the same time I want to rotate or translate the view, but as the documentati开发者_高级运维on says the frame property must be ignored after applying transformations to the view.

Given these conditions, is there a way to resize the UIView without scaling it?


You can also change the view's bounds to modify its size.

0

精彩评论

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