ios flutter应用程序的webview中的键盘未显示 [英] keyboard in webview of ios flutter apps doesn't show up

查看:95
本文介绍了ios flutter应用程序的webview中的键盘未显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在ios项目应用程序中显示webview,所以我使用webview_flutter 1.0.7作为插件,并且在webview中有文本字段,我需要在其中键入或输入某些内容...但是键盘却没有.t出现...我试图在android中构建,并且出现了键盘,我可以键入一些内容..只有在ios中启动此应用程序时,我才遇到这种情况..有一种方法可以让我在其中键入一些内容webview的textfield并显示键盘?此问题与此 https://github.com/flutter/flutter/Issues/25436#issuecomment-649278727 ,然后我在模拟器"菜单中的"I/O->键盘->切换软件键盘"中进行了检查,但是键盘仍然没有显示

I am trying to show webview in my ios project apps, so I use webview_flutter 1.0.7 as the plugin, and inside the webview there is textfield and I need to type or input something there... but the keyboard doesn't show up... I have tried to build in android and the keyboard shows up and I can type something.. I get this case only when I launch this apps in ios.. is there a way so that I can type something inside textfield of webview and shows the keyboard ? this question is related to this https://github.com/flutter/flutter/issues/25436#issuecomment-649278727 and I have followed it by doing check in I/O->Keyboard->Toggle software keyboard in my Simulator menu, but the keyboard still doesn't show up

推荐答案

我遇到了同样的问题.OP 像这样:

I had the same problem. The OP solved it like this:

我这样做是找到了答案:取消选中"在模拟器"菜单中的I/O->键盘->切换软件键盘中

I found the answer by doing this: doing "uncheck" in I/O->Keyboard->Toggle software keyboard in my Simulator menu

和一个现在已删除(我不确定为什么)的答案,由Guillaume Roux 说:

And a now deleted (I'm not sure why) answer by Guillaume Roux said:

看来这是模拟器带来的问题.尝试使用⌘+ K显示模拟器的键盘.

Seems like it is an issue coming from your simulator. Try to display the simulator's keyboard using ⌘ + K.

这篇关于ios flutter应用程序的webview中的键盘未显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆