Inherits from UITableViewController
Declared in SCOfferwallController.h

Overview

Presents the standard C2Call SDK Offerwall Controller.

The Offerwall Controller shows an offerwall of rewarded offers from your AdNetworks. C2Call SDK supports offers from Flurry, Aarki, RadiumOne and SponsorPay.

Properties

labelNoOffers

Label No offers available.

@property (nonatomic, weak) IBOutlet UILabel *labelNoOffers

Declared In

SCOfferwallController.h

noOffersView

UIView refrerence for No Offers Label.

@property (nonatomic, strong) IBOutlet UIView *noOffersView

Declared In

SCOfferwallController.h

Instance Methods

hideNoOffers

Hides NoOffers View.

- (void)hideNoOffers

Declared In

SCOfferwallController.h

prepareAdList

Prepares the AdList for presentation.

- (void)prepareAdList

Discussion

Default Implementation :

// Make sure to do that in main queue
dispatch_async(dispatch_get_main_queue(), ^{
    NSArray *list = [AdManager instance].adList;
    if ([list count] > 0) {
        adList = [NSArray arrayWithArray:list];
        [self hideNoOffers];
    } else {
        [self showNoOffers];
    }
    [self.tableView reloadData];
});

Declared In

SCOfferwallController.h

showNoOffers

Shows NoOffers View.

- (void)showNoOffers

Declared In

SCOfferwallController.h