For the complete documentation index, see llms.txt. This page is also available as Markdown.

iOS Integration

If you are looking to integrate the offerwall into your iOS app, either open the offerwall in Safari or use a web view to show the offerwall inside your app.

URL

https://revtoo.com/offerwall/[API_KEY]/[USER_ID]

WebView Example

import UIKit
import WebKit
class ViewController: UIViewController, WKUIDelegate {

   var webView: WKWebView!

   override func loadView() {
       let webConfiguration = WKWebViewConfiguration()
       webView = WKWebView(frame: .zero, configuration: webConfiguration)
       webView.uiDelegate = self
       view = webView
   }
   override func viewDidLoad() {
       super.viewDidLoad()
       let myURL = URL(string:"https://revtoo.com/offerwall/[API_KEY]/[USER_ID]")
       let myRequest = URLRequest(url: myURL!)
       webView.load(myRequest)
   }}

Replace [API_KEY] with your website API key and [USER_ID] by the unique identifier code of the user of your site who is viewing the wall.

Last updated