0

假设我想编写一个 iOS5、iOS6 和 iOS7 用户应该能够使用的应用程序。

如果我使用自动调整大小的遮罩(弹簧和支柱)可以吗?这不会给拥有 iOS7 的人带来一些问题吗?

因为如果我使用自动布局,我将不得不使其与 iOS5 向后兼容,而我还不想要它。

4

1 回答 1

1

iOS will still translate the autoresizingMasks to constraints, because all older apps would break otherwise. I would still recommend testing your app on an iOS 7 device before releasing it, but using autoResizingMasks should work.

于 2013-08-16T14:52:19.247 回答