Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / How to add iAd to your game using Tier2. Share Experience.

Author
Message
halley
13
Years of Service
User Offline
Joined: 27th Apr 2011
Location: China
Posted: 8th Nov 2011 04:38
First ,you should enable iAd in iTunes connect .

second, define a globe variable in .m file, ADBannerView* adView; then extern it in .h file.

Third,add these code.


at last, you can use adView.hidden = YES, or adView.hidden = NO to control show or hide the iAd.
That's all.

give my best
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 8th Nov 2011 12:29
Looks easy enough.
I will try it asap!

Would love more of these small code snips that give you extra functionality so that we won't have to bother TGC to do them for us!

Login to post a reply

Server time is: 2024-11-22 09:33:57
Your offset time is: 2024-11-22 09:33:57