Yimin Rong
Yimin Rong

Reputation: 2027

iOS ADBannerview - do the ads go away on their own?

Do the ads go away on their own? I've read that the ads should be shown for thirty seconds before closing them, implying that their display is managed by the app, but in pre-release testing they disappear after thirty seconds on their own.

Also, if I provide an in-App purchase for an ad-free upgrade, what's the best way to prevent ads from loading? Preventing the ad from showing is easy with .hidden = YES, but it still loads in the background. If I clear the delegate and dealloc, will that have problems with ARC or threading?

Upvotes: 0

Views: 100

Answers (2)

MrBr
MrBr

Reputation: 1916

Regarding the banner free version what about setting the property?

self.canDisplayBannerAds = NO;

Upvotes: 0

Jack
Jack

Reputation: 16855

Simply remove the ad from superview, clear the delegate, and set it to nil.

There should be no problems with that. I do it all the time :)

Upvotes: 2

Related Questions