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
-
shouldFinishOnRedirect
If set to YES, this View Controller will be automatically dismissed when the user clicks on an offer and is redirected outside the app.
property -
currencyName
Name of your virtual currency.
property
This is a human readable, descriptive name of your virtual currency. -
customParameters
A 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.
This is a human readable, descriptive name of your virtual currency.
@property (readonly, retain, nonatomic) NSString *currencyName
Declared In
SPAdvertisementViewController.h