Masonry常见错误
2016-02-19 17:24
411 查看
1.出现NSInternalInconsistencyException错误
xcode提示:
看看是不是吧
2.couldn't find a common superview for
看看是不是少了
xcode提示:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Attributes should be chained before defining the constraint relation'
看看是不是吧
with写成了
width,比如
make.top.mas_equalTo(self.mas_top).with.offset(50);写成了
make.top.mas_equalTo(self.mas_top).width.offset(50);
2.couldn't find a common superview for
看看是不是少了
addSubView
相关文章推荐
- iOS 52个技巧学习心得笔记 第二章 对象 , 消息, 运行期
- MySql命令
- php采集神器cURL使用方法详解
- Lucene搭建和基本使用
- maven常用命令介绍
- 用robotframework + selenium2library做自动化测试遇到的一些问题,及解决方法。
- 如何在Eclipse下安装myeclipse插件
- ulua slua 下载地址
- QQ视差特效和ListView侧滑删除
- codevs 4633 [Mz]树链剖分练习
- JSP页面与JSP页面之间传输参数出现中文乱码的解决方案
- >/dev/null 2>&1
- Lua实现在字符之间插入指定字符
- 3143: [Hnoi2013]游走 概率与期望 高斯消元解期望方程组
- 解析Java的迭代器中的fast-fail错误检测机制
- 4000 今天碰到一个PHP配置问题
- Linux权限基础及常用命令(CentOS)
- Eclipse不能自动联想类成员的解决方法之一
- React Native For Android On Windows
- Xutils和Xutils3的基本使用