Reputation: 2451
I am developing an app in landscape mode. For the same, I had placed the iAd Banner in landscape mode. And it is working fine too. But I got the issue when I tried to see its detail page it is opening in portrait mode. I search on Google but didn't get any solution to view the iAd detail page in landscape mode. If someone has any idea please help me out.
Thanks in advance.
Upvotes: 1
Views: 92
Reputation: 3441
From Apple Docs,
Any user interface screen that includes a banner view must be managed by a view controller (a class that subclasses UIViewController).
This allows a triggered action to cover your user interface with an additional advertising screen. Whenever a banner view is visible, it must be part of a view hierarchy that is attached to the view property of a view controller.
Your second view controller should be the child of the Main View controller.
For More details Please Refer HERE
Upvotes: 3