iphone - ADBannerView in UITableViewCell -


What is the best practice for placing ads in your table visual cells? . Here is my code, which works until the banner transitionToNextBanner event, which then receives my application crash

  UITableViewCell * cell = [tableVw dequeueReusableCellWithIdentifier: @ "BannerAdCellIdentifier"]; If (cell == zero) {cell = [[[UITableViewCell alloc] initWithStyle: UITableViewCellStyleDefault reuseIdentifier: @ "BannerAdCellIdentifier"] autorelease]; } [[Cell Vitudeg: 99 99] Removed Frossoversive]; ADBannerView * adview = [[ADBannerView alloc] initWithFrame: CGRectMake (0, 0, 320, 50)]; AdView.tag = 9999; AdView.requiredContentSizeIdentifiers = [NSSet setWithObject: ADBannerContentSizeIdentifier320x50]; AdView.currentContentSizeIdentifier = ADBannerContentSizeIdentifier320x50; [Cell ad sbueview: adview]; [Ad release release]; Return cell;  

I thought that since I am not setting up an advertising representative that it will be protected from any related issues related to memory.

If you place iAd banners in table view cells, then the apple will reject your application. The reason is that table visualization cells have the ability to move the screen several times forward and (sometimes re-causing the result in the cell or reload its contents).

Since iAds pay out both clicks per impression, it would be an easy way to generate a lot of impressions and get more money through impressions. Apple is not allowing this.

The IAD guidelines state that the iAd banner should be in a fixed location, and not within a scroll view. It also states that if IAD fails to load any cause, your app should not leave the vacant place where it was. The last point can be purely aesthetic, I do not know.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -