Cordova / Phonegap在iOS上的config.xml中忽略全屏首选项
我已经定义了
<preference name="Fullscreen" value="true"/>
但是通过Xcode部署它忽略了这一点。 即使我在编译设置上设置了隐藏状态栏。 我所有的其他config.xml设置似乎工作,但不是这个。
Fullscreen
无法在iOS 7及更高版本上使用。 相反,您可以使用Cordova HiddenStatusbarOverlay Plugin来隐藏状态栏。
另一种隐藏它的方法是使用gap:config-file元素来覆盖UIViewControllerBasedStatusBarAppearance
属性:
<gap:config-file platform="ios" parent="UIViewControllerBasedStatusBarAppearance" overwrite="true"> <false/> </gap:config-file>
使用以下偏好标签。 对我来说工作正常。
<preference name="StatusBarOverlaysWebView" value="true" />
- 在启动应用程序之前,启animation面运行,然后闪烁错误的随机图像
- ios phonegap)我应该在哪里定位自定义推送通知声音?
- Xcode 8和iOS 10 Cordova项目上的代码签名错误
- Apache Cordova / Visual Studio 2015工具无法在IOS模拟器中启动应用程序
- Cordova Splashscreen iPhone 6和iPhone 6 Plus没有显示
- iOS上的PhoneGap硬编码加载www / index.html?
- 如何使用phonegap从Java脚本调用ios方法?
- 设置AutoHideSplashScreen在iOS的Cordova 3.0.0中不起作用
- 在iOS 6上保存联系人时出现Phonegap ContactError