I am implementing adwhirl ad system in my game . My game is in portrait mode but i want the ad to be in landscape mode . Adwhirl developer documentation says :
6.2 Device Orientation Some ad networks including iAd will vary their ad dimensions with device orientation. If your app supports rotation you must forward orientation changes to AdWhirlView by invoking AdWhirlView.rotateToOrientation: within your UIViewController’s should/willAutorotateToInterfaceOrientation: implementation and then refit as per 6.1. If your app’s notion of orientation somehow differs from UIDevice.orientation you must also implement AdWhirlDelegate.adWhirlCurrentOrientation to return the appropriate value.
I had implementated
- (UIDeviceOrientation)adWhirlCurrentOrientation
{
return UIDeviceOrientationLandscapeRight;
}
method but ad still comes in portrait mode ...Any idea where m getting things wrong .. or any other posible way to do so ?