双击家后,背景应用截图显示错误的方向 [英] Background app screenshot showing wrong orientation after double tapping home

查看:86
本文介绍了双击家后,背景应用截图显示错误的方向的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用只是风景,一切都很好,直到它被发送到后台。

My app is Landscape only, and all is fine until it's sent to the background.

当我的应用程序在后台时,我双击Home调出任务切换器,我的应用截图显示为肖像。屏幕截图被视为Landscape,但是倾向于显示为Portrait。

When my app is in the background, and I double-tap Home to bring up the task switcher, my app screenshot is displayed as Portrait. The screenshot was taken as Landscape, but is skewed to display as Portrait.

注意,我正在将我的应用程序从以前的版本升级到Xcode 6,iOS 7/8。我的应用程序不进行任何后台处理。

Note, I am upgrading my app from a previous version to Xcode 6, iOS 7/8. My app doesn't do any background processing.

任何帮助将不胜感激。我假设我错过了一个设置或在某个地方打电话,因为我没有运气搜索这个问题。如果您发现这是重复的,请指出相应的文章。

Any help would be appreciated. I'm assuming I'm missing a setting or call somewhere since I've searched for this issue with no luck. If you find this to be a duplicate then please point me to the appropriate article.

推荐答案

我的AdBannerView导致应用截图到以肖像显示。
要解决这个问题,我在resign active的超级视图中删除了横幅。

My AdBannerView was causing the app screenshot to display in Portrait. To resolve, I removed the banner from its super view on resign active.

这篇关于双击家后,背景应用截图显示错误的方向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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