Skip to content

使用VoiceChatView,请教个问题,谢谢 #1

Description

@xhzth70911

请教个问题,我在在BottomNavigationBar的界面去用VoiceChatView,我在点击长按之前, 隐藏hideBottomNavigatorBar,GlobalEvent().emit('hideBottomNavigatorBar');但是当我点击语音转文字的TextField ,编辑弹出键盘的时候,键盘触发弹出,马上收回,会报错,这个怎么改,谢谢

[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.
(
"<NSLayoutConstraint:0x280268050 'assistantHeight' TUISystemInputAssistantView:0x12717d7f0.height == 45 (active)>",
"<NSLayoutConstraint:0x280262580 'assistantView.bottom' TUISystemInputAssistantView:0x12717d7f0.bottom == _UIKBCompatInputView:0x12f195a80.top (active)>",
"<NSLayoutConstraint:0x280262760 'assistantView.top' V:|-(0)-[TUISystemInputAssistantView:0x12717d7f0] (active, names: '|':UIInputSetHostView:0x1271c9780 )>",
"<NSLayoutConstraint:0x280268ff0 'inputView.top' V:|-(0)-[_UIKBCompatInputView:0x12f195a80] (active, names: '|':UIInputSetHostView:0x1271c9780 )>"
)

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x280262580 'assistantView.bottom' TUISystemInputAssistantView:0x12717d7f0.bottom == _UIKBCompatInputView:0x12f195a80.top (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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions