Hi, recently the iOS keyboard has started popping up even when not going into editable fields.
Anyone has similar? Or any ideas how to debug?
I’m getting lots of trace like this which not sure whether is a problem or not:
021-01-29 16:33:50.380937+0100 MIDISynth-Control[932:507896] [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:0x283c6f4d0 h=–& v=–& _UIButtonBarButton:0x11d0866b0.height == 0 (active)>",
"<NSLayoutConstraint:0x283c63110 _UIUCBKBSelectionBackground:0x11d086eb0.bottom == _UIButtonBarButton:0x11d0866b0.bottom - 6 (active)>",
"<NSLayoutConstraint:0x283c63070 V:|-(6)-[_UIUCBKBSelectionBackground:0x11d086eb0] (active, names: ‘|’:_UIButtonBarButton:0x11d0866b0 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x283c63110 _UIUCBKBSelectionBackground:0x11d086eb0.bottom == _UIButtonBarButton:0x11d0866b0.bottom - 6 (active)>
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.
2021-01-29 16:33:50.381676+0100 MIDISynth-Control[932:507896] [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:0x283c6f1b0 h=–& v=–& _UIButtonBarButton:0x11d03c690.height == 0 (active)>",
"<NSLayoutConstraint:0x283c62d50 V:|-(6)-[_UIUCBKBSelectionBackground:0x11d085d50] (active, names: ‘|’:_UIButtonBarButton:0x11d03c690 )>",
"<NSLayoutConstraint:0x283c62df0 _UIUCBKBSelectionBackground:0x11d085d50.bottom == _UIButtonBarButton:0x11d03c690.bottom - 6 (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x283c62df0 _UIUCBKBSelectionBackground:0x11d085d50.bottom == _UIButtonBarButton:0x11d03c690.bottom - 6 (active)>
thx