iAd banner positioning

Hi all,

So I added line 15 in hopes of slightly bringing down the banner from the top. I dont want the banner at the bottom because of how you play my game you may accidentally hit it and really frustrate people. And I would like it slightly lower than the very top so that the iOS status bar does not sit on top of the banner. Problem is I put different numbers in the y position for line 15, but the banner always stays in the same position which is slightly below the top.

Any ideas where I am going wrong with this? TY

using UnityEngine;
using System.Collections;

using ADBannerView = UnityEngine.iOS.ADBannerView;

public class iAd : MonoBehaviour {

   private ADBannerView banner = null;
   void Start()
   {
     banner = new ADBannerView(ADBannerView.Type.Banner, ADBannerView.Layout.Manual);
     ADBannerView.onBannerWasClicked += OnBannerClicked;
     ADBannerView.onBannerWasLoaded += OnBannerLoaded;
     banner.position = new vector2 (0,18);
   }

   void OnBannerClicked()
   {
     Debug.Log("Clicked!\n");
   }

   void OnBannerLoaded()
   {
     Debug.Log("Loaded!\n");
     banner.visible = true;
   }
}

Just wondering if anyone has an idea. :slight_smile:

Bump

Have you solved this problem?