textfield 英文键盘状态下切换中文键盘,控制台有打印,遇到的举手,知道怎么解决的也举手
2016-07-29 10:01
776 查看
Unable to simultaneously satisfy constraints.
Probably at least one of the c
4000
onstraints 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:0x7ff02be814c0 H:[_UIButtonBarStackView:0x7ff02e09af40(<=0)]>",
"<NSLayoutConstraint:0x7ff02bc153e0 'UIView-leftMargin-guide-constraint' H:|-(15)-[UILayoutGuide:0x7ff02bcac140'UIViewLayoutMarginsGuide'](LTR) (Names: '|':_UIButtonBarStackView:0x7ff02e09af40 )>",
"<NSLayoutConstraint:0x7ff02bc15990 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x7ff02bcac140'UIViewLayoutMarginsGuide']-(15)-|(LTR) (Names: '|':_UIButtonBarStackView:0x7ff02e09af40 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x7ff02bc15990 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x7ff02bcac140'UIViewLayoutMarginsGuide']-(15)-|(LTR) (Names: '|':_UIButtonBarStackView:0x7ff02e09af40 )>
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.
以上是打印的
Probably at least one of the c
4000
onstraints 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:0x7ff02be814c0 H:[_UIButtonBarStackView:0x7ff02e09af40(<=0)]>",
"<NSLayoutConstraint:0x7ff02bc153e0 'UIView-leftMargin-guide-constraint' H:|-(15)-[UILayoutGuide:0x7ff02bcac140'UIViewLayoutMarginsGuide'](LTR) (Names: '|':_UIButtonBarStackView:0x7ff02e09af40 )>",
"<NSLayoutConstraint:0x7ff02bc15990 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x7ff02bcac140'UIViewLayoutMarginsGuide']-(15)-|(LTR) (Names: '|':_UIButtonBarStackView:0x7ff02e09af40 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x7ff02bc15990 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x7ff02bcac140'UIViewLayoutMarginsGuide']-(15)-|(LTR) (Names: '|':_UIButtonBarStackView:0x7ff02e09af40 )>
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.
以上是打印的
相关文章推荐
- ios 开发 中文和英文状态下 键盘的变化 textview 对键盘的适应
- IOS开发 textView输入文字时键盘切换为中文输入法后,第一个输入的字母变成英文
- 解决键盘把textfield遮挡的问题
- qq2006导致alt-tab切换失灵,还不知道怎么报告和解决(英文win2000)
- UITextField切换中文输入,选中所输入的中文时,iOS7不会调用textField:shouldChangeCharactersInRange:replacementString协议方法。
- Android 禁止editText弹出软键盘(带光标) 并解决其他editText弹出软键盘后 切换回来 小键盘隐藏
- swift-多个textfield 键盘下一项 切换
- iPhone开发 UI TextField 输入英文会出现EXC_BAD_ACCESS错误的解决方法
- cocos2dx 3.2 解决输入框(TextField,TextFieldTTF) 中文乱码问题
- 怎么解决Win8无法在中文语言中添加英文输入法?
- cocos TextField + ios键盘 状态监听 移动view
- 解决textField中键盘挡住的问题
- cocos2dx 3.2 解决输入框(TextField,TextFieldTTF) 中文乱码问题
- Ubuntu英文环境下解决chrome evernote插件不能切换到中文印象笔记-剪藏以及印象笔记-悦读的问题
- iOS textfield限制长度,中文占2字符,英文占1字符
- Linux系统下中文显示乱码怎么改回显示英文状态?
- win7系统下Dreamweaver cs4 出现中文菜单变英文状态解决方法
- Fcitx中文状态下的英文输入问题解决方案
- cocos2dx 3.x 解决输入框(TextField,TextFieldTTF) 输入中文变乱码的问题
- iOS模拟器中修改textField键盘类型为中文输入和键盘弹出方法