I have an iAd which I want to be able to change the placement on the y axis in code. The ad is called on and spawned by this code:
- (void)bannerViewDidLoadAd:(ADBannerView *)banner {
[UIWebView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:1];
[banner setAlpha:1];
[UIView commitAnimations];
}
I tried to change the position of the ad by doing something like this:
banner.frame.origin.y += 100;
or
banner.frame.origin.y = 100;
But I'm always left with the error: Expression is not assignable