FBAdViewDelegate
Es ist eine neuere Version dieser Klasse verfügbar. Sieh sie dir an mit der aktuellsten Version.

The methods declared by the FBAdViewDelegate protocol allow the adopting delegate to respond to messages from the FBAdView class and thus respond to operations such as whether the ad has been loaded, the person has clicked the ad.

Extends Protocol:NSObject
Declared in:FBAdView.h
Eigenschaften
viewControllerForPresentingModalView

Asks the delegate for a view controller to present modal content, such as the in-app browser that can appear when an ad is clicked.

@property (nonatomic, readonly, strong, nonnull) UIViewController *viewControllerForPresentingModalView;
Deklariert in: FBAdView.h
Instance-Methoden
adView:didFailWithError:

Sent after an FBAdView fails to load the ad.

ParameterBeschreibung
adView

An FBAdView object sending the message.

error

An error object containing details of the error.

- (void)
adView: (FBAdView *)adView
didFailWithError: (NSError *)error;
Deklariert in: FBAdView.h
adViewDidClick:

Sent after an ad has been clicked by the person.

ParameterBeschreibung
adView

An FBAdView object sending the message.

- (void) adViewDidClick:(FBAdView *)adView;
Deklariert in: FBAdView.h
adViewDidFinishHandlingClick:

When an ad is clicked, the modal view will be presented. And when the user finishes the interaction with the modal view and dismiss it, this message will be sent, returning control to the application.

ParameterBeschreibung
adView

An FBAdView object sending the message.

- (void) adViewDidFinishHandlingClick:(FBAdView *)adView;
Deklariert in: FBAdView.h
adViewDidLoad:

Sent when an ad has been successfully loaded.

ParameterBeschreibung
adView

An FBAdView object sending the message.

- (void) adViewDidLoad:(FBAdView *)adView;
Deklariert in: FBAdView.h
adViewWillLogImpression:

Sent immediately before the impression of an FBAdView object will be logged.

ParameterBeschreibung
adView

An FBAdView object sending the message.

- (void) adViewWillLogImpression:(FBAdView *)adView;
Deklariert in: FBAdView.h