ios - KeyboardShrinksView & Keyboard.shrinkView(true) 对带有 Cordova 3.4.1 + 键盘插件的 iOS 没有影响

标签 ios mobile cordova keyboard

我正在使用 Cordova 3.4.1 和 the Keyboard plugin来自 cordova-plugins .根据键盘插件的文档,我应该可以设置 <preference name="KeyboardShrinksView" value="true" />偏好或调用Keyboard.shrinkView(true)在我的 Javascript 中制作键盘,呃,缩小 View 。

不幸的是,据我所知,这些都没有任何效果,我不知道如何进行。我将不胜感激任何人都可以提供的帮助,以使其按广告宣传。

我不确定为调试目的提供哪些配置或代码对我有用。这是config.xml对于 iOS 版本:

https://gist.github.com/mccutchen/3fd6c3f1d4096a348a00

这个问题问的问题大致相同,但还没有任何有用的答案:

PhoneGap 3.3 iOS KeyboardShrinksView

谢谢!

最佳答案

请参阅我对这篇 SO 文章的回复,以获取有关此(仍 Unresolved AFAIK)主题的一些可能的帮助/见解:Phonegap KeyboardShrinksView and position fixed on iOS not applying correctly

关于ios - KeyboardShrinksView & Keyboard.shrinkView(true) 对带有 Cordova 3.4.1 + 键盘插件的 iOS 没有影响,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24021987/

相关文章:

ios - 错误 : Use of self in property access 'reuseidentifier' before super. init 初始化自身

ios - AppDelegate 到 UIViewController

android - 我可以依靠自动移动调整来进行响应式设计吗

javascript - 寻找适用于移动设备的 jQuery 元素滚动插件

android - PhoneGap 2.5.0 问题

Cordova / ionic 资源

ios - Apple 的 TestFlight 和证书

iphone - 如何慢慢抚摸露出路径?

移动 UI 框架和其他 UI 脚本

android - 如何使用 Ionic 框架访问 Android 设备上的文件