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
-
banner
The PTAdAsset instance used to intialize the banner view
property -
delegate
PTAdBannerView internally uses a UIWebView to display the banner asset. The application can register itself as a delegate to this web view
property -
player
The 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 *banner
Discussion
The PTAdAsset instance used to intialize the banner view
Declared In
PTAdBannerView.h
delegate
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> delegate
Discussion
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.h
player
The PTMediaPlayer instance is required for notifying clicks within the banner view
@property (nonatomic, assign) PTMediaPlayer *player
Discussion
The PTMediaPlayer instance is required for notifying clicks within the banner view
Declared In
PTAdBannerView.h