I am using a simple way to set up iAd.. but every time the iAd animates, my SpriteKit game starts to lag. I was wondering if there is an more efficient way?
- (void)bannerViewDidLoadAd:(ADBannerView *)banner {
[UIView animateWithDuration:0.1 animations:^(void) {
banner.alpha = 1;
}];
}
- (void)bannerView:(ADBannerView *)banner didFailToReceiveAdWithError:(NSError *)error {
[UIView animateWithDuration:0.1 animations:^(void){
banner.alpha = 0;
}];
}