博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
- (void)addConstraints:(NSArray<__kindof NSLayoutConstraint *> *)constraints
阅读量:6634 次
发布时间:2019-06-25

本文共 653 字,大约阅读时间需要 2 分钟。

Adds multiple constraints on the layout of the receiving view or its subviews.

 

All constraints must involve only views that are within scope of the receiving view. Specifically, any views involved must be either the receiving view itself, or a subview of the receiving view. Constraints that are added to a view are said to be held by that view. The coordinate system used when evaluating each constraint is the coordinate system of the view that holds the constraint.

When developing for iOS 8.0 or later, use the  class’s  method instead of calling the addConstraints: method directly. The  method automatically adds the constraints to the correct views.

转载地址:http://jbbvo.baihongyu.com/

你可能感兴趣的文章
CentOS 6.5 Varnish缓存服务详解及应用实现 推
查看>>
Oracle Study之--Oracle TimeZone升级
查看>>
PIM规则总结
查看>>
Amoeba实现mysql主从读写分离2
查看>>
Swift中正则使用正则的几种方式
查看>>
SQL Server 2000 : gethostbyname: Error 11004
查看>>
log4j下载地址及日志文件输入位置配置
查看>>
Tomcat下Servlet配置精解
查看>>
吞吐量与网络流量对应关系剖析
查看>>
新功能:OSS访问日志实时分析
查看>>
在DELL服务器上升级ESXI 5.5
查看>>
ubuntu16.04 双网卡绑定
查看>>
LVS+Keepalived实现高可用群集
查看>>
单目运算符重载为友元函数
查看>>
Vmware vSphere常见问题汇总(三)
查看>>
基于OHCI的USB主机 —— USB设备端口特性清除
查看>>
微软宣布MIX11将发布Silverlight 5 Beta
查看>>
2个sqlserver数据库实例之间数据导入导出
查看>>
Oracle数据库安全资源-2
查看>>
大牛教你查库暴库
查看>>