【发布时间】:2012-01-13 08:46:22
【问题描述】:
我在 uiview 中添加了图像视图作为子视图。现在我已经使用转换旋转了这个图像视图。应用旋转变换后如何调整图像视图的大小。
【问题讨论】:
标签: ios cocoa-touch ipad uiview transform
我在 uiview 中添加了图像视图作为子视图。现在我已经使用转换旋转了这个图像视图。应用旋转变换后如何调整图像视图的大小。
【问题讨论】:
标签: ios cocoa-touch ipad uiview transform
您不应该手动调整大小,您应该设置视图的 autoresizingMask 以便在发生旋转时自动调整大小
【讨论】: