【问题标题】:Automatically update frames in autolayout [closed]自动更新自动布局中的框架[关闭]
【发布时间】:2014-11-25 19:49:59
【问题描述】:

我的布局中有带有 Aspect Fit 模式的 imageview。图像大小调整得很好,但框架仍然很大。有没有办法自动更新 imageview 框架?

【问题讨论】:

    标签: ios uiimageview autolayout


    【解决方案1】:

    您可以在情节提要中使用纵横比。右键单击从一端到另一端的 imageView,应显示一个弹出窗口以允许您选择 Aspect Ratio

    【讨论】:

    猜你喜欢
    • 2019-12-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-02-08
    • 2018-02-24
    • 2015-11-07
    • 1970-01-01
    相关资源
    最近更新 更多