FBAdViewDelegate
有此級別的更新版本。前往查看 最新版本。

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
執行個體方法
adView:didFailWithError:

Sent after an FBAdView fails to load the ad.

參數說明
adView

An FBAdView object sending the message.

error

An error object containing details of the error.

- (void)
adView: (FBAdView *)adView
didFailWithError: (NSError *)error;
宣告於: FBAdView.h
adViewDidClick:

Sent after an ad has been clicked by the person.

參數說明
adView

An FBAdView object sending the message.

- (void) adViewDidClick:(FBAdView *)adView;
宣告於: 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.

參數說明
adView

An FBAdView object sending the message.

- (void) adViewDidFinishHandlingClick:(FBAdView *)adView;
宣告於: FBAdView.h
adViewDidLoad:

Sent when an ad has been successfully loaded.

參數說明
adView

An FBAdView object sending the message.

- (void) adViewDidLoad:(FBAdView *)adView;
宣告於: FBAdView.h
adViewWillLogImpression:

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

參數說明
adView

An FBAdView object sending the message.

- (void) adViewWillLogImpression:(FBAdView *)adView;
宣告於: FBAdView.h
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.

- (UIViewController *) viewControllerForPresentingModalView;
宣告於: FBAdView.h