Will attempt to recover by breaking constraint <NSLayoutConstraint:0x280764780 H:[_UIModernBarButton:0x143dae800]-(>=5)-| (active, names: '|':_UIButtonBarButton:0x143dae1b0 )>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful. 2019-07-09 09:42:56.139575+0800 imatrixh5app[1006:633541] [LayoutConstraints] 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) ( "<NSAutoresizingMaskLayoutConstraint:0x280764960 h=-&- v=-&- _UIToolbarContentView:0x143d4f810.width == UIToolbar:0x143d4f3d0.width (active)>", "<NSLayoutConstraint:0x28075b200 H:|-(0)-[_UIButtonBarStackView:0x143d50bd0] (active, names: '|':_UIToolbarContentView:0x143d4f810 )>", "<NSLayoutConstraint:0x28075bf70 _UIButtonBarStackView:0x143d50bd0.trailing == _UIToolbarContentView:0x143d4f810.trailing (active)>", "<NSLayoutConstraint:0x280766990 H:|-(8)-[_UIModernBarButton:0x143daf8b0'Done'] (active, names: '|':_UIButtonBarButton:0x143daed20 )>", "<NSLayoutConstraint:0x280766350 H:[_UIModernBarButton:0x143daf8b0'Done']-(16)-| (active, names: '|':_UIButtonBarButton:0x143daed20 )>", "<NSLayoutConstraint:0x28077fc50 'UISV-canvas-connection' UILayoutGuide:0x281d4ea00'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x143e68f40.leading (active)>", "<NSLayoutConstraint:0x28077fc00 'UISV-canvas-connection' UILayoutGuide:0x281d4ea00'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x143daed20.trailing (active)>", "<NSLayoutConstraint:0x280767b60 'UISV-spacing' H:[_UIButtonBarButton:0x143e68f40]-(0)-[UIView:0x143dadfd0] (active)>", "<NSLayoutConstraint:0x2807661c0 'UISV-spacing' H:[UIView:0x143dadfd0]-(0)-[_UIButtonBarButton:0x143dae1b0] (active)>", "<NSLayoutConstraint:0x280767cf0 'UISV-spacing' H:[_UIButtonBarButton:0x143dae1b0]-(0)-[UIView:0x143daeb40] (active)>", "<NSLayoutConstraint:0x280767e80 'UISV-spacing' H:[UIView:0x143daeb40]-(0)-[_UIButtonBarButton:0x143daed20] (active)>",
"<NSLayoutConstraint:0x2807671b0 'UIView-Encapsulated-Layout-Width' UIToolbar:0x143d4f3d0.width == 0 (active)>",
"<NSLayoutConstraint:0x2807597c0 'UIView-leftMargin-guide-constraint' H:|-(0)-[UILayoutGuide:0x281d4ea00'UIViewLayoutMarginsGuide'](LTR) (active, names: '|':_UIButtonBarStackView:0x143d50bd0 )>",
"<NSLayoutConstraint:0x28075b480 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x281d4ea00'UIViewLayoutMarginsGuide']-(0)-|(LTR) (active, names: '|':_UIButtonBarStackView:0x143d50bd0 )>"
)
Will attempt to recover by breaking constraint <NSLayoutConstraint:0x280766350 H:[_UIModernBarButton:0x143daf8b0'Done']-(16)-| (active, names: '|':_UIButtonBarButton:0x143daed20 )>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful. 2019-07-09 09:43:00.332944+0800 imatrixh5app[1006:633541] didDisconnectPeripheral 2019-07-09 09:43:17.569429+0800 imatrixh5app[1006:633541] didConnectPeripheral 2019-07-09 09:43:19.459614+0800 imatrixh5app[1006:633541] didDisconnectPeripheral
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.