Skip to content

Warnings on swap screen #1795

@gemcoder21

Description

@gemcoder21
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. 
(
    "<NSLayoutConstraint:0x600002437200 'accessoryView.bottom' _UIRemoteKeyboardPlaceholderView:0x10a046970.bottom == _UIKBCompatInputView:0x101b84710.top - 17   (active)>",
    "<NSLayoutConstraint:0x60000237ec60 'inputView.top' V:[_UIRemoteKeyboardPlaceholderView:0x10a046970]-(0)-[_UIKBCompatInputView:0x101b84710]   (active)>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x60000237ec60 'inputView.top' V:[_UIRemoteKeyboardPlaceholderView:0x10a046970]-(0)-[_UIKBCompatInputView:0x101b84710]   (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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions