<script type="text/javascript">
<!--
var _adynamo_client = "eb6abc80-36a1-4aa6-a1aa-ec8dde419d7b";
var _adynamo_width = 728;
var _adynamo_height = 90;
//-->
</script>
<script type="text/javascript" src="http://static.addynamo.net/ad/js/deliverAds.js"></script>
Thursday, November 29, 2012
Wednesday, November 21, 2012
- (void)restoreController {
[imageView_ removeFromSuperview];
// Restore status bar to state it was before hiding.
[UIApplication sharedApplication].statusBarHidden = hideStatusBar_;
}
#pragma mark GADInterstitialDelegate
- (void)interstitialDidReceiveAd:(GADInterstitial *)ad {
NSLog(@"Received ad successfully");
[interstitial_ presentFromRootViewController:self];
}
- (void)interstitial:(GADInterstitial *)ad
didFailToReceiveAdWithError:(GADRequestError *)error {
NSLog(@"Failed to receive ad with error: %@", [error localizedFailureReason]);
[self restoreController];
}
- (void)interstitialWillDismissScreen:(GADInterstitial *)ad {
// Remove the imageView_ once the interstitial is dismissed.
[self restoreController];
}
Subscribe to:
Posts (Atom)