PhoneGap和iPhone 5:删除顶部和底部的黑色条纹 [英] PhoneGap and iPhone 5: Remove top and bottom black stripes
问题描述
我正在使用PhoneGap构建iOS移动应用。
最近,我下载了新的Xcode,并在iPhone5模拟器上运行的应用程序。该应用程序运行良好,但有两个黑色条纹和应用程序的底部和顶部。我知道这是苹果的方式向后兼容旧的应用程序,而不是为iPhone 5的4英寸屏幕设计。
I'm using PhoneGap to build a mobile app for iOS. Lately I downloaded the new Xcode and ran the app on iPhone5 simulator. The app is working well, but there are two black stripes and the bottom and top of the app. I know that this is Apple's way to be backward compatible with older apps which were not designed for iPhone 5's 4-inch screen.
是一个PhoneGap应用程序完全可能利用新的4英寸屏幕iPhone 5?
Is it possible to make a PhoneGap app fully exploit the new 4-inch screen iPhone 5?
推荐答案
所有不包含 568h@2x.png
文件显示在信箱中。
包括 Default-568h@2x.png
将使您的应用程序在4个视网膜设备上填充屏幕。
All apps that do not include the Default-568h@2x.png
file are displayed in a letter box.
Include the Default-568h@2x.png
will make your app fill the screen on 4" retina devices.
PhoneGrap的网络浏览器视图应填满屏幕。
The web browser view of the PhoneGrap should fill the screen.
这篇关于PhoneGap和iPhone 5:删除顶部和底部的黑色条纹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!