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.
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
Discussion
Name of your virtual currency.
This is a human readable, descriptive name of your virtual currency.
Declared In
SPAdvertisementViewController.h
customParameters
A dictionary of arbitrary key / value strings to be provided to the SponsorPay platform when requesting the advertisement.
@property (retain, nonatomic) NSDictionary *customParameters
Discussion
A dictionary of arbitrary key / value strings to be provided to the SponsorPay platform when requesting the advertisement.
Declared In
SPAdvertisementViewController.h
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 (readwrite) BOOL shouldFinishOnRedirect
Discussion
If set to YES, this View Controller will be automatically dismissed when the user clicks on an offer and is redirected outside the app.
Declared In
SPAdvertisementViewController.h