iAd外部窗口弹出窗口

时间:2015-02-17 17:53:49

标签: ios objective-c iphone external iad

有人可以告诉我在ViewController中输入的内容,以便当用户实际上最终点击iAd横幅时,它会在单独的窗口而不是在我的应用内打开吗?目前,iAd banner已全部设置在ViewController中工作。

1 个答案:

答案 0 :(得分:1)

在Apple文档中,他们拥有以下属性:

bannerViewActionInProgress
A Boolean value that states whether the banner is currently executing an user-triggered action. (read-only)

@property(nonatomic, readonly, getter=isBannerViewActionInProgress) BOOL bannerViewActionInProgress
Discussion
Advertisements have an action that is triggered when the user taps the banner. Some actions remain in the application, covering the application’s user interface until the action completes. The value of this property is YES when such an action is running; otherwise it is NO.

Your application should avoid polling this property. Instead, implement the delegate methods to detect when an action begins or ends.

Availability
Available in iOS 4.0 and later.
Declared In
ADBannerView.h

这可能是你需要的。