Titanium Community Questions & Answer Archive

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

iAds Causing Crash

After checking if the user is >= 3.2

I'm using the following code:

var iads = Ti.UI.iOS.createAdView({
            width: 'auto',
            height: 'auto',
            bottom: -100,
            borderColor: '#000000',
            zIndex:100,
            backgroundColor: '#000000'});

            t1 = Titanium.UI.createAnimation({bottom:0, duration:500});

            iads.addEventListener('load', function(){
                try{
                    iads.animate(t1);
                }
                catch(e)
                {
                }
            });

On occasion, the app just crashes. Typically when I let the app sit there and do nothing. Anyone know if this is a known bug?

— asked September 2nd 2010 by John Welch
  • bug
  • error
  • iads
0 Comments

0 Answers

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.