简体   繁体   English

永久保留iPhone 5应用程序的视图控制器顶部和底部的黑色边缘

[英]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.

相关问题 iPhone-使CGAffineTransform永久 - iphone - making the CGAffineTransform permanent UIScreenEdgePanGestureRecognizer:顶部和底部边缘 - UIScreenEdgePanGestureRecognizer: top and bottom edges AS3 Starling:如何删除iPhone 6 + /…顶部和底部的黑条? - AS3 Starling: How to remove black bars on top and bottom of iPhone 6+/…? 我可以更改 iPhone 5 信箱的颜色吗(顶部和底部的黑条 - Can I change the colour of the iPhone 5 letterbox (the black bars at the top and bottom iPhone X的圆形边缘对具有底部工具栏或标签的混合应用程序有何影响? - What impact do the rounded edges of the iPhone X have on hybrid apps with bottom toolbars or tabs? 适用于iPhone 6和iPhone 6 Plus的应用程序屏幕顶部和底部的1px黑线 - 1px black line at the top and bottom of app screen for iPhone 6 and iPhone 6 Plus 为iPhone应用程序和游戏制作加载页面(等待查看) - Making a loading page (waiting view) for iPhone apps and games 在iPhone上从上到下具有滑动效果的打开视图 - Open view with slide effect from top to bottom on iPhone iPhone上从下到上打开带有幻灯片效果的视图 - Open view with slide effect from bottom to top on iPhone 在iPhone SDK中查看控制器 - view controllers in the iPhone SDK
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM