【发布时间】:2014-09-30 19:54:17
【问题描述】:
我在使用 Alloy MVC 的 Titanium Appcelerator 中遇到了问题。此问题包含以下内容(见图)
我无法删除找到应用名称和徽标的黑条。我正在设备上运行应用程序(Google Nexus,没有模拟器)
我尝试了以下方法来删除它:
XML:
<Alloy>
<Window>
</Window>
</Alloy>
TSS:
"Window":
{
navBarHidden:true,
fullscreen:true,
backgroundColor:"Orange",
orientationModes:[Ti.UI.PORTRAIT],
}
TiApp.XML:
<statusbar-style>default</statusbar-style>
<statusbar-hidden>true</statusbar-hidden>
<fullscreen>true</fullscreen>
<navbar-hidden>true</navbar-hidden>
但是这些选项都不能隐藏这个黑条。在 iOS 模拟器中,它确实通过将属性 fullscreen 设置为 true 来移除导航栏
还有其他方法可以解决这个问题吗?提前致谢!
【问题讨论】:
标签: android titanium appcelerator titanium-alloy