佚名通过本文主要向大家介绍了storyboard约束出错导致textfileld位置移动,如何根据以下报错信息排查问题位置等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
问题: storyboard 约束出错导致textfileld位置移动,如何根据以下报错信息排查问题位置
描述:
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)
(
"<NSLayoutConstraint:0x14c531e80 V:|-(20)-[UIInputSetContainerView:0x14c51fa80] (Names: '|':UITextEffectsWindow:0x14c520d40 )>",
"<NSLayoutConstraint:0x14c5264b0 'UIInputWindowController-top' V:|-(0)-[UIInputSetContainerView:0x14c51fa80] (Names: '|':UITextEffectsWindow:0x14c520d40 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x14c531e80 V:|-(20)-[UIInputSetContainerView:0x14c51fa80] (Names: '|':UITextEffectsWindow:0x14c520d40 )>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
描述:
storyboardiosconstrainttextfiled
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)
(
"<NSLayoutConstraint:0x14c531e80 V:|-(20)-[UIInputSetContainerView:0x14c51fa80] (Names: '|':UITextEffectsWindow:0x14c520d40 )>",
"<NSLayoutConstraint:0x14c5264b0 'UIInputWindowController-top' V:|-(0)-[UIInputSetContainerView:0x14c51fa80] (Names: '|':UITextEffectsWindow:0x14c520d40 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x14c531e80 V:|-(20)-[UIInputSetContainerView:0x14c51fa80] (Names: '|':UITextEffectsWindow:0x14c520d40 )>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.