TADInReadAnchorDelegate
@protocol TADInReadAnchorDelegate <NSObject>
用於從 TADInReadAnchor 接收狀態更改消息的委託,例如廣告請求成功/失敗或點擊廣告時。
-
在收到廣告請求成功時發送。
Declaration
Objective-C
- (void)anchorDidReceiveAd:(TADInReadAnchor *)anchor; -
在收到廣告請求失敗時發送。
Declaration
Objective-C
- (void)anchor:(TADInReadAnchor *)anchor didFailToReceiveAdWithError:(TADRequestError *)error; -
anchor廣告版位即將顯示
Declaration
Objective-C
- (void)anchorWillShow:(TADInReadAnchor *)anchor; -
使用者點按關閉廣告
Declaration
Objective-C
- (void)anchorUserPressedCloseAd; -
在應用程序將進入後台或終止之前發送,因為用戶點擊的廣告將啟動另一個應用程序(例如AppStore)。 將比普通的 UIApplicationDelegate 方法早調用,比如applicationDidEnterBackground
Declaration
Objective-C
- (void)anchorWillLeaveApplication:(TADInReadAnchor *)anchor;
TADInReadAnchorDelegate Protocol Reference