Inmobi定位iphone,
我有一个很大的问题,我已经在我的应用程序中集成了inmobi,它不支持界面定向,但当我按下广告时,视图加载在顶部,它会旋转,这并不坏,但当它旋转时,视图会扭曲,无法覆盖全屏, 也许有人有过类似的问题? 我的代码:Inmobi定位iphone,,iphone,ios,objective-c,ipad,inmobi,Iphone,Ios,Objective C,Ipad,Inmobi,我有一个很大的问题,我已经在我的应用程序中集成了inmobi,它不支持界面定向,但当我按下广告时,视图加载在顶部,它会旋转,这并不坏,但当它旋转时,视图会扭曲,无法覆盖全屏, 也许有人有过类似的问题? 我的代码: 提前谢谢 您似乎正在使用InMobi SDK(3.0.2)的旧版本 最近推出了一个新版本: 引入了一种新方法: - (BOOL)shouldRotateToInterfaceOrientation:(UIInterfaceOrientation)orientation; 您可以在UI
提前谢谢 您似乎正在使用InMobi SDK(3.0.2)的旧版本 最近推出了一个新版本: 引入了一种新方法:
- (BOOL)shouldRotateToInterfaceOrientation:(UIInterfaceOrientation)orientation;
您可以在UIViewController中使用此方法,并处理方向更改,如下所示:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return [imAdView shouldRotateToInterfaceOrientation:interfaceOrientation];
}
希望这有帮助 您似乎正在使用InMobi SDK(3.0.2)的旧版本 最近推出了一个新版本: 引入了一种新方法:
- (BOOL)shouldRotateToInterfaceOrientation:(UIInterfaceOrientation)orientation;
您可以在UIViewController中使用此方法,并处理方向更改,如下所示:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return [imAdView shouldRotateToInterfaceOrientation:interfaceOrientation];
}
希望这有帮助 谢谢,我已经联系了支持团队,他们在非常有帮助的情况下,指导我完成了所需的步骤。你的回答是正确的:)谢谢!谢谢,我已经联系了支持团队,他们在非常有帮助的情况下,指导我完成了所需的步骤。你的回答是正确的:)谢谢!