[英]Making black edges on the top and bottom of view controllers for iPhone 5 apps permanent
I don't want to remove iPhone 5 support, I just want it so that it would be exactly like apps that have not been updated for iPhone 5's screen (where the black strips line the top and bottom on all view controllers). 我不想删除对iPhone 5的支持,我只是想要它,以使其与未针对iPhone 5屏幕进行更新的应用程序完全相同(黑条位于所有视图控制器的顶部和底部)。
Edit: Below is a picture showing what I mean. 编辑:下面是显示我的意思的图片。 Also, my storyboard error log (yellow exclamation point in the side column) is showing that there, indeed, is NO iPhone 5 picture.
另外,我的情节提要错误日志(边栏中的黄色感叹号)显示,实际上没有iPhone 5图片。 Yet, it still loads up as though there is one.
但是,它仍然可以加载,好像有一个。
Edit 2: I have created another new project and tried going in and deleting the actual file first (not from the one when you click on the target) and that worked. 编辑2:我创建了另一个新项目,并尝试先进入并删除实际文件(而不是单击目标时从该文件中删除),并且该方法起作用了。 Thanks!
谢谢!
If you are talking about the letterboxes that are created when the app does not scale, remove the Default-568h@2x.png image from your project. 如果您要谈论的是应用程序无法缩放时创建的信箱,请从您的项目中删除Default-568h@2x.png图像。 By default, there is a black filler image in Project Summary under Launch Images.
默认情况下,“项目摘要”中的“启动图像”下有一个黑色填充图像。 Remove that one, and it should still letterbox.
删除那个,它应该仍然信箱。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.