FCBInferno

Q: How do I handle device orientation detection in an iAd

I've had an iPad iAd rejected as there is only a portrait view available in it.

 

I've created an alternative landscape page but I can't seem to find a way in iAd producer to detect device orientation and send the user to a different landscape page and none of the Javascript methods I've found seem to work when trying to detect device orientation changes. deviceOrientationDidChange just returns '0' when the page first appears and then doesn't trigger again.

 

Can anyone point me in the right direction here?

iPad 2, iOS 8.1.2, iAd Producer 5.0.1 iAd Tester 5.0.1

Posted on Feb 10, 2015 5:04 AM