Using Interface Builder

Last updated on May 7, 2018

Once you install the OpenX Mobile iOS SDK, you can set up OXMBannerView in Interface Builder to help you integrate ads into your app.

Set up OXMBannerView in Interface Builder

  1. In Interface Builder, create and position a UIView.

  2. Set the UIView to the correct size for your ad unitThe smallest inventory component that represents the space on a site where ads display..
  3. Select the UIView and navigate to the Identity Inspector.

  4. In the Custom Class section, set Class to "OXMBannerView".
  5. Continue to integrate your banner ad into your app.