Background app screenshot showing wrong orientation after double tapping home

限于喜欢 提交于 2019-12-06 06:38:48
Anon

If your App is being launched in Landscape Orientation, You can try out launching it in Portrait & See if it happens.

As UIViewController Class Reference States:

At launch time, apps should always set up their interface in a portrait orientation. After the application:didFinishLaunchingWithOptions: method returns, the app uses the view controller rotation mechanism described above to rotate the views to the appropriate orientation prior to showing the window.

Let me know what result you get trying this.

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!