The OfferToro iOS SDK gives iOS developers an easy way to integrate the OfferToro OfferWall module into their native iOS apps.
Before you can integrate our SDK into your projects, you must first create a publisher account and then create an app placement.
The OfferToro iOS SDK can be downloaded from your publisher account under SDK section.
Please make sure the monetization tool of the app you are using matches the required monetization tool of the integration. An integration with wrong monetization tool might not work.
To integrate the SDK into your project, please follow the simple steps described below:
Step 2. Add OffertoroSDKResources.bundle to your project.Verify that OffertoroSDKResources.bundle is displayed into Build Phases/Copy Bundle Resources section).
<key> NSPhotoLibraryUsageDescription</key> <string>$(PRODUCT_NAME) uses Photo Library</string> <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict>
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: