SPAdvertisementViewController Class Reference
| Inherits from | UIViewController |
| Conforms to | UIWebViewDelegate |
| Declared in | SPAdvertisementViewController.h SPAdvertisementViewController.m |
Overview
SPAdvertisementViewController is a subclass of UIViewController that provides common functionality to request and display advertisements from the SponsorPay platform. It’s intended to be subclassed by concrete implementations of SponsorPay products, like the Mobile OfferWall or the Interstitial.
Tasks
-
shouldFinishOnRedirectIf set to YES, this View Controller will be automatically dismissed when the user clicks on an offer and is redirected outside the app.
property -
currencyNameName of your virtual currency.
property -
customParametersA dictionary of arbitrary key / value strings to be provided to the SponsorPay platform when requesting the advertisement.
property -
– dismissAnimated:Dismisses the presented advertisement.
Properties
currencyName
Name of your virtual currency.
@property (readonly, retain, nonatomic) NSString *currencyNameDiscussion
This is a human readable, descriptive name of your virtual currency.
Declared In
SPAdvertisementViewController.h