Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. // Put your Banner Adspot id here. Also provide the Topmost view controller in order to present the full screen ads.
  2. adView = [[VMaxAdView alloc] initWithAdspotID: YOUR_BANNER_ADSPOT_ID viewController: self withAdUXType: kVMaxAdUX_Banner];
  3. // Set the delegate to class which confirms to VMaxAdDelegate protocol.
  4. adView.delegate = self;
  5. // Add the VMaxAdView to the current view.
  6. [self.view addSubview: adView];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement