Search code examples
iosobjective-ciad

iAd on top of view in landscape


Right now I have an iAd banner on the bottom of my view when the device is in landscape. How do I get the iAd banner to be on top of the view when the device is in landscape?

banner.frame = CGRectOffset(banner.frame, -banner.frame.size.width/50, -banner.frame.size.height);

Solution

  •  Banner.frame = CGRectMake(0,0,480,32);
    

    is the solution