[英]IOS Bug, keyboard not showing up
We encontered a problem in IOS, we have tested many webview packages from https://pub.dev/ (like https://pub.dev/packages/webview_flutter and https://pub.dev/packages/flutter_webview_plugin and https: //pub.dev/packages/flutter_inappbrowser ),所有解決方案都以相同的結果結束。 當 innapp 網站打開時,它可以完美加載,但是當您與輸入交互時,鍵盤似乎沒有出現,它出現在所有頁面的所有輸入中。
提前致謝..
錯誤日志 output 是:
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:0x6040004826c0 h=-&- v=-&- UIToolbar:0x7fcec747c950.width == _UIInputViewContent:0x7fcec74aede0.width (active)>",
"<NSAutoresizingMaskLayoutConstraint:0x600000487440 h=--& v=--& _UIInputViewContent:0x7fcec74aede0.width == 0 (active)>",
"<NSLayoutConstraint:0x6000004839d0 H:|-(0)-[_UIButtonBarStackView:0x7fcec74bfd40] (active, names: '|':_UIToolbarContentView:0x7fcec743d460 )>",
"<NSLayoutConstraint:0x600000483a70 _UIButtonBarStackView:0x7fcec74bfd40.trailing == _UIToolbarContentView:0x7fcec743d460.trailing + 8 (active)>",
"<NSLayoutConstraint:0x6000004845b0 _UIToolbarContentView:0x7fcec743d460.trailing == UIToolbar:0x7fcec747c950.trailing (active)>",
"<NSLayoutConstraint:0x60000009f1d0 H:|-(0)-[_UIToolbarContentView:0x7fcec743d460] (active, names: '|':UIToolbar:0x7fcec747c950 )>",
"<NSLayoutConstraint:0x604000480730 H:|-(>=5)-[_UIModernBarButton:0x7fcec75b34b0] (active, names: '|':_UIButtonBarButton:0x7fcec75b2e40 )>",
"<NSLayoutConstraint:0x604000480780 H:[_UIModernBarButton:0x7fcec75b34b0]-(>=5)-| (active, names: '|':_UIButtonBarButton:0x7fcec75b2e40 )>",
"<NSLayoutConstraint:0x604000481310 H:|-(8)-[_UIModernBarButton:0x7fcec75b4060'Done'] (active, names: '|':_UIButtonBarButton:0x7fcec75b39d0 )>",
"<NSLayoutConstraint:0x604000481360 H:[_UIModernBarButton:0x7fcec75b4060'Done']-(0)-| (active, names: '|':_UIButtonBarButton:0x7fcec75b39d0 )>",
您可以使用快捷鍵⇧+⌘+K
或⌘+K
在“軟件鍵盤”和“硬件鍵盤”之間切換
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.