【发布时间】:2013-01-08 23:46:46
【问题描述】:
我有一个设计为纵向运行的应用程序,一切都很好。但是我已经实现了 Mobfox 的 vAd,需要横向模式。
目前调用vAD时出现以下错误
2013-01-08 23:44:05.109 Tv - IOS[1422:907] mobfox video did load
2013-01-08 23:44:05.125 Tv - IOS[1422:907] *** Terminating app due to uncaught exception 'UIApplicationInvalidInterfaceOrientation', reason: 'Supported orientations has no common orientation with the application, and shouldAutorotate is returning YES'
所以我认为修复将允许应用程序中的横向。
我需要强制应用以纵向运行,但在调用 vAd 时允许横向运行
所以回顾一下:
我需要在正常应用视图期间仅纵向方向,而在 mobFox vAd 视图期间横向/纵向可见。
【问题讨论】:
标签: ios xcode device-orientation mobfox