大佬教程收集整理的这篇文章主要介绍了xcode – NSToolbar – 工具栏空间项 – 打破默认约束,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
[81687:303] Unable to simultaneously satisfy consTraints: ( "<NSAutoresizingMaskLayoutConsTraint:0x100635620 h=--& v=--& V:[NSToolbarItemViewer:0x101b4d930(5)]>","<NSAutoresizingMaskLayoutConsTraint:0x100634b30 h=--& v=-&- V:|-(11)-[_NSToolbarSpace:0x101b49a00] (Names: '|':NSToolbarItemViewer:0x101b4d930 )>","<NSAutoresizingMaskLayoutConsTraint:0x100634ad0 h=--& v=-&- V:[_NSToolbarSpace:0x101b49a00]-(12)-| (Names: '|':NSToolbarItemViewer:0x101b4d930 )>" ) Will attempt to recover by breaking consTraint <NSAutoresizingMaskLayoutConsTraint:0x100634b30 h=--& v=-&- V:|-(11)-[_NSToolbarSpace:0x101b49a00] (Names: '|':NSToolbarItemViewer:0x101b4d930 )> Set the NSUserDefault NSConsTraintBasedLayoutVisualizeMutuallyExclusiveConsTraints to YES to have -[NSWindow visualizeConsTraints:] automatically called when this happens. And/or,break on objc_exception_throw to catch this in the debugger.
当我可视化约束错误
编辑:看起来像“工具栏空间项目”打破约束,如果我删除它,我运行正常
以上是大佬教程为你收集整理的xcode – NSToolbar – 工具栏空间项 – 打破默认约束全部内容,希望文章能够帮你解决xcode – NSToolbar – 工具栏空间项 – 打破默认约束所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。