iOS 8:Web 应用程序状态栏位置和调整大小问题 [英] iOS 8: web app status bar position and resizing problems
问题描述
设置元标记时
apple-mobile-web-app-capable
和
apple-mobile-web-app-status-bar-style
要创建全屏 Web 应用,iOS 状态栏位于屏幕顶部(半透明),底部还有一个额外的空黑条.
to create a full screen web app, the iOS status bar is at the top of the screen (translucent) and there's an additional empty black bar at the bottom.
这是我的代码:
<!DOCTYPE html><html><head><meta charset="utf-8">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
</head>
<body><h1>Test</h1>
<p>Capture a photo using camera</p>
<input type="file" capture="camera" accept="image/*">
</body></html>
标签 apple-mobile-web-app-status-bar-style
还有一个问题.通过相机输入拍摄并接受照片后,屏幕两侧会出现黑条.我在 iPad3 上使用 iOS8 GM.
There's an additional problem with the tag apple-mobile-web-app-status-bar-style
. After taking and accepting a photo via camera input black bars appear on the sides of the screen.
I'm using iOS8 GM on an iPad3.
我认为这可能是 iOS 8 的错误,但 Apple 似乎并不关心我的错误报告:(
I think this might be an iOS 8 bug but Apple doesn't seem to care about my bug report :(
有人知道这个问题的解决方案吗?
Does anyone know a solution/workaround for this problem?
更新 1:Apple 于 9 月 19 日将我的错误报告标记为重复(已关闭).
Update 1: Apple marked my bug report as Duplicate (Closed) on Sept. 19th.
更新 2:错误已在 iOS 8.3 Beta 1 中修复
Update 2: Bug is fixed in iOS 8.3 Beta 1
推荐答案
Apple 在 iOS 8.3 beta 1 中修复了这个错误
Apple fixed this bug in iOS 8.3 beta 1
这篇关于iOS 8:Web 应用程序状态栏位置和调整大小问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!