Tutorial details

Adding iAd | App Code for Sale | Preview

Adding iAd | iOS Tutorial

How to add iad into your project and generate revenue from your apps

Overview PAGE TOP

Reference: http://www.geekylemon.com/WEBPROTECT-xcodeiad.htm

In this tutorial i will be showing you how to add iad into your project and generate revenue from your apps


  • 1 iAd banner

Almost every free app out now has an iAd banner in it. This help develops make money from distributing free apps and keeps 60 percent of all profits from iAd

ViewController.h PAGE TOP

#import <iAd/iAd.h>
@interface ViewController : UIViewController <ADBannerViewDelegate> {

ViewController.m PAGE TOP

@implementation ViewController
-(void)bannerViewDidLoadAd:(ADBannerView *)banner {
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:1];
[banner setAlpha:1];
[UIView commitAnimations];

- (void)bannerView:(ADBannerView *)
banner didFailToReceiveAdWithError:(NSError *)error
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:1];
[banner setAlpha:0];
[UIView commitAnimations];

Reference PAGE TOP


0 Comments Leave a comment

Please login in order to leave a comment.

Newest first

to your Chupamobile Account.

The Easiest way to Launch your next App or Game.

Join Chupamobile and get instant access to thousands of ready made App and Game Templates.

Creating an account means you’re okay with Chupamobile’s Terms of Service and Privacy Policy.