Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

Prerequisites

  1. iOS Get Started

  2. iOS Manual Implementation

Create a wrapper

For creating a wrapper, you can follow this small guide: Creating a Wrapper.

Show the Ad

This method below will add an ad to the provided wrapper

import UIKit
import R89SDK

class ViewController: UIViewController {
    ...
    override func viewDidLoad() {
        super.viewDidLoad()
        ...
        RefineryAdFactory.shared.createBanner(
        configurationID: ConfigBuilder.companion.BANNER_TEST_R89_CONFIG_ID,
        wrapper: adContainer, lifecycleCallbacks: nil)
    }
    ...
}

  • No labels