zoukankan      html  css  js  c++  java
  • Auto Layout Cookbook:Views with Intrinsic Content Size

    Views with Intrinsic Content Size具有内容内容的视图

    The following recipes demonstrate working with views that have an intrinsic content size. In general, the intrinsic content size simplifies the layout, reducing the number of constraints you need. However, using the intrinsic content size often requires setting the view’s content-hugging and compression-resistance (CHCR) priorities, which can add additional complications.

    下面的公式演示了具有内在内容大小的视图的工作原理。一般来说,内部内容大小简化了布局,减少了所需的约束数量。然而,使用内部内容的大小往往需要设置视图的内容拥抱和抗压(CHCR)的优先权,它可以添加额外的并发症。

    To view the source code for these recipes, see the Auto Layout Cookbook project.

    要查看这些配方的源代码,请参见自动布局食谱项目。

    iOS Android Appcan WeChat
  • 相关阅读:
    安装RabbitMQ说明
    死锁
    管程
    MybatisPlus快速开发
    了解Mybatis-Plus
    查看监听器状态
    The command supports no service 解决办法
    任务11 Arduino光照报警器
    任务10 测试光的强度实验
    任务9 Arduino光敏实验
  • 原文地址:https://www.cnblogs.com/zyingn/p/AutoLayoutCookbook__ViewsWithIntrinsicContentSize.html
Copyright © 2011-2022 走看看