I have a universal device app with Device Orientation in Portrait and Upside Down. For iPad Storyboard I clicked orientation to be Portrait as well. When I click on the iAd in iPad simulator, the app flips to landscape mode. When I close the iAd, the app automatically turns back to portrait mode like normal. I've looked at a few possible solutions on this site and they didn't work for me. How to fix this issue?
#pragma mark iAd Delegate Methods
-(void)bannerViewDidLoadAd:(ADBannerView *)banner{
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:1];
[banner setAlpha:1];
[UIView commitAnimations];
}