gpt4 book ai didi

ios - 如何使用单个 Storyboard为不同的屏幕尺寸(例如 : iPhone 3. 5",4",4.7"and 5.5")设置不同的约束?

转载 作者:塔克拉玛干 更新时间:2023-11-02 09:14:20 24 4
gpt4 key购买 nike

I have tried for "Compact width,Any height option) but if I select an area as shown in the image then it will affect other screen size constraint too? For Ex: Constraint of 3.5" will affect constraint of 4",4.7" etc..

我已经搜索过了,但没有得到任何富有成果的答案。我想在单个 Storyboard本身(不是以编程方式)中为所有不同的屏幕尺寸设置不同的约束。

我该如何解决?

提前致谢!!

最佳答案

请查看这个有用的链接,它对您有帮助。

http://www.raywenderlich.com/83129/beginning-auto-layout-tutorial-swift-part-1

在本教程中,您可以找到“关于大小类的快速说明”部分,您可以在该部分找到问题的解决方案:)

另请参阅以下约束教程,希望对您有所帮助。

https://www.youtube.com/watch?v=G53PuA_TlXk

关于ios - 如何使用单个 Storyboard为不同的屏幕尺寸(例如 : iPhone 3. 5",4",4.7"and 5.5")设置不同的约束?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31509842/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com