当前位置:
凯发ag旗舰厅登录网址下载 >
> 编程问答
>内容正文
编程问答
unable to simultaneously satisfy constraints. -凯发ag旗舰厅登录网址下载
凯发ag旗舰厅登录网址下载
收集整理的这篇文章主要介绍了
unable to simultaneously satisfy constraints.
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
开发版本 7.0
@property(nonatomic) bool translatesautoresizingmaskintoconstraints ns_available_ios(6_0); // default yes
此属性 6.0 版本
错误提示:
unable to simultaneously satisfy constraints.probably at least one of the constraints in the following list is one you don't want. try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (note: if you're seeing nsautoresizingmasklayoutconstraints that you don't understand, refer to the documentation for the uiview property translatesautoresizingmaskintoconstraints) ("解决办法:
出错的view . translatesautoresizingmaskintoconstraints = no ;即可解决
无意之中发现只要设置xib 中的size 为任意的iphone 尺寸也能解决上面的问题, 不能死inferred!!!
转载于:https://www.cnblogs.com/fleas/p/5717760.html
总结
以上是凯发ag旗舰厅登录网址下载为你收集整理的unable to simultaneously satisfy constraints.的全部内容,希望文章能够帮你解决所遇到的问题。
如果觉得凯发ag旗舰厅登录网址下载网站内容还不错,欢迎将凯发ag旗舰厅登录网址下载推荐给好友。
- 上一篇:
- 下一篇: c 应用程序性能优化