Documentation

Here you will find all the info you need to integrate the various monetization tools OfferToro has to offer.

iOS SDK

SDK version 3.5
Updated: Sep 25, 2017

1. Introduction

The OfferToro iOS SDK gives iOS developers an easy way to integrate the OfferToro OfferWall, Rewarded Video, Non-incent OfferWall and SurveyWall modules into their native iOS apps.

The OfferToro iOS SDK can be downloaded HERE .

Before you can integrate our SDK into your projects, you must first create a publisher account and then create an app placement.

2. Getting Started

OfferToro SDK supports iOS versions 8.0 and above.

To integrate the SDK into your project, please follow the simple steps described below:

  • Step 1. Add OffertoroSDK.framework to your project.
  • Step 2. Add OffertoroSDKResources.bundle to your project.

    Verify that OffertoroSDKResources.bundle is displayed into Build Phases/Copy Bundle Resources section).
  • Step 3. Add required frameworks to your project:
    1. CoreMedia.framework;
    2. AVFoundation.framework;
    3. AdSupport.framework.
    4. Webkit.framework.
  • Step 4. Add the following code into your project info.plist file:
    <key>NSAppTransportSecurity</key>
    <dict>
        <key>NSAllowsArbitraryLoads</key>
        <true/>
    </dict>
  • Step 5. Create Objective-C bridging header file (required for Swift project)
    Objective-C bridging header file should be added to your project if it's developed in Swift.

    Note:

    The bridging header file will be generated automatically if you try to create a new Objective-C file into your Swift project. You will need to specify its location and proceed to editing the file.

    The following line should be added to Objective-C bridging header file:

    #import <OffertoroSDK/OfferToroSDK.h>