强制在iOS9中缩放应用 [英] Force to zoom app in iOS9

查看:68
本文介绍了强制在iOS9中缩放应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序,希望在iPhone 6中按比例缩放和缩放. 基本上,我想模仿设置"中的应用的缩放".目前,当我在设置"中使用缩放"模式运行该应用程序时,一切正常,但是当我在没有设置"中的缩放"的情况下运行该应用程序时,显示的视图会变小.我该如何解决?

I have an app that in iPhone 6 I want it to be scaled proportionally and zoomed. Basically I want to imitate the Applied ZOOM from Settings. At the moment, when I run the app with the Zoom mode from Settings, everything works fine but when I run it without that Zoom from Settings, the views displayed are smaller. How can I fix it?

推荐答案

仅通过为我的一张启动图像添加名称Default-568h@2x.png即可解决,现在我的应用程序已缩放.我不得不说我没有没有设置Storyboard启动屏幕文件.感谢@PetahChristian的来信提示,使我能够解决此问题.

Resolved just by adding the name Default-568h@2x.png for one of my launch images and now my app is scaled.I have to say that I didn't have a Storyboard launch screen file set. I was able to manage this thanks to the letterbox hint from @PetahChristian.

关于黑色边框,您必须提供一些启动图像,否则iOS会认为您的应用甚至不支持4英寸iPhone及其信箱

As for the black borders, you must provide some launch images, or iOS will think your app doesn't even support the 4" iPhones and letterbox it

这篇关于强制在iOS9中缩放应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆