// Import the SDK header file and declare that you are implementing // the FBAdViewDelegate protocol: #import @interface MyViewController : UIViewController // Other code might go here... @end // In your View Controller, create a new instance of the FBAdView // and add it to your view hierarchy: - (void)viewDidLoad { [super viewDidLoad]; FBAdView *adView = [[FBAdView alloc] initWithPlacementID:@"264293564021066_264294194021003" adSize:kFBAdSize320x50 rootViewController:self]; adView.delegate = self; [adView loadAd]; // Reposition the adView // ... [self.view addSubview:adView]; } // Now that you have the basic code running, it is recommended that you use // the FBAdView delegate to get notified when the ad fails to load so you // could hide the banner unit. In the same way, you can add it back when it // was loaded: - (void)adView:(FBAdView *)adView didFailWithError:(NSError *)error; { NSLog(@"Ad failed to load"); // Add code to hide the ad unit... // E.g. adView.hidden = YES; } - (void)adViewDidLoad:(FBAdView *)adView; { NSLog(@"Ad was loaded and ready to be displayed"); // Add code to show the ad unit... // E.g. adView.hidden = NO; }

Header Ads

Results for social
SIR FREDERICK COWLAND HOPKINS SIR FREDERICK COWLAND HOPKINS Reviewed by vijaykumar on 23:05 Rating: 5

JOHANN GREGAR MENDEL

23:01
JOHANN GREGAR MENDEL        Mendel’s laws relating genetics are esteemed to be of a great value in the present day medical world...
JOHANN GREGAR MENDEL JOHANN GREGAR MENDEL Reviewed by vijaykumar on 23:01 Rating: 5

CHALES DARWIN (1809-1882)

22:58
                     CHALES DARWIN (1809-1882)  Charles Darwin was a Naturalist who displayed to the world the Theory of Evolution. ...
CHALES DARWIN (1809-1882) CHALES DARWIN (1809-1882) Reviewed by vijaykumar on 22:58 Rating: 5

GALEN (130-199 A.D.)

22:48
                                       GALEN (130-199 A.D.)  Galen best the rundown of prominent people in the therapeutic science. Hi...
GALEN (130-199 A.D.)  GALEN (130-199 A.D.) Reviewed by vijaykumar on 22:48 Rating: 5
HIPPOCRATES (384-322 B.C.)  HIPPOCRATES (384-322 B.C.) Reviewed by vijaykumar on 22:39 Rating: 5

MADAME MARIE CURIE

22:07
                           Radium is a valuable component. The disclosure of the Radium only three years before after the revelation ...
MADAME MARIE CURIE MADAME MARIE CURIE Reviewed by vijaykumar on 22:07 Rating: 5
JOHN LOGIE BAIRD(1888-1945) JOHN LOGIE BAIRD(1888-1945) Reviewed by vijaykumar on 21:58 Rating: 5

ALEXANDER FLEMING

21:45
                              ALEXANDER FLEMING  ALEXANDER FLEMING is best known for his revelation and segregation of the Antibioti...
ALEXANDER FLEMING ALEXANDER FLEMING Reviewed by vijaykumar on 21:45 Rating: 5

EDWARD JENNER

23:10
EDWARD JENNER Smallpox might have been a standout amongst those practically dangerous and fared illnesses. Person over three from cla...
EDWARD JENNER EDWARD JENNER Reviewed by vijaykumar on 23:10 Rating: 5

LOUIS PASTEUR

22:53
LOUIS PASTEUR Louis pasteur might have been those creater for 1st immunization for Rabies, a dangerous ailment initiated Eventually ...
LOUIS PASTEUR LOUIS PASTEUR Reviewed by vijaykumar on 22:53 Rating: 5
SIDDHARTHA GAUTAMA BUDDHA(563-483BC) SIDDHARTHA GAUTAMA BUDDHA(563-483BC) Reviewed by vijaykumar on 00:40 Rating: 5

VARDHAMAN MAHAVIRA

23:05
mahavira awesome saint, is the name most ordinarily used to allude to the india sage varthamana who establised what are today considare...
VARDHAMAN MAHAVIRA VARDHAMAN MAHAVIRA Reviewed by vijaykumar on 23:05 Rating: 5
MAHARISHI VALMIKI | robbery to ramayana MAHARISHI VALMIKI | robbery to ramayana Reviewed by vijaykumar on 22:00 Rating: 5

ARYABHARATA(476-550AD)

04:54
Aryabhata was born in magadha modern patna in bihar. many are of the view that he as born in the south of india especially krala and liv...
ARYABHARATA(476-550AD) ARYABHARATA(476-550AD) Reviewed by vijaykumar on 04:54 Rating: 5

Ad Home

Powered by Blogger.