Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

how to deal with the blank space when there is no Ad

I am using iAd and Admob as a backup. I tried to use a simple table view with two rows to do this. so the top row is for Ad, bottom row is the content. the height is set to auto, I am expecting the top row not show when there is no Ad, however, somehow, the blank space is always there.

Can anyone please help me out here?
This should be a very common issue for everyone.

— asked November 14th 2010 by jason hu
  • admob
  • blank
  • iad
  • space
0 Comments

2 Answers

  • You need to use an event that catches on iad to show or hide it, check the iad module for available events, there is one indicating whether or not it is loaded. Off hand I'm not sure if admob has I similar event but you should be able to use the same process.

    — answered November 14th 2010 by Brian Raymond
    permalink
    0 Comments
  • You need to use an event that catches on iad to show or hide it, check the iad module for available events, there is one indicating whether or not it is loaded. Off hand I'm not sure if admob has I similar event but you should be able to use the same process.

    — answered November 14th 2010 by Brian Raymond
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.