PTAdBannerView Class Reference
| Inherits from | UIView |
| Conforms to | UIWebViewDelegate |
| Declared in | PTAdBannerView.h |
Overview
The PTAdBannerView class is a utility class to display a banner asset. The application must create a new instance of this class, set the banner asset, and add it to a view. The impression and click tracking for the banner is internally managed by this class.
Tasks
Properties
-
bannerThe PTAdAsset instance used to intialize the banner view
property -
delegatePTAdBannerView internally uses a UIWebView to display the banner asset. The application can register itself as a delegate to this web view
property -
playerThe PTMediaPlayer instance is required for notifying clicks within the banner view
property -
– initWithAsset:Initializes a new PTAdBannerView instance with an ad asset instance
Properties
banner
The PTAdAsset instance used to intialize the banner view
@property (nonatomic, readonly) PTAdAsset *bannerDiscussion
The PTAdAsset instance used to intialize the banner view
Declared In
PTAdBannerView.hdelegate
PTAdBannerView internally uses a UIWebView to display the banner asset. The application can register itself as a delegate to this web view
@property (nonatomic, assign) id<UIWebViewDelegate> delegateDiscussion
PTAdBannerView internally uses a UIWebView to display the banner asset. The application can register itself as a delegate to this web view
Declared In
PTAdBannerView.hplayer
The PTMediaPlayer instance is required for notifying clicks within the banner view
@property (nonatomic, assign) PTMediaPlayer *playerDiscussion
The PTMediaPlayer instance is required for notifying clicks within the banner view
Declared In
PTAdBannerView.h