exc bad access - iPhone - Problem with “EXC_BAD_ACCESS” -


i've problem. serius problem. -.-'' i've app viewbased, mainview , flipsideview. when tap on info button flipsideview appears. when tap done button, sometimes, app terminates “exc_bad_access” , don't know have do!!! in flipside view i've iad banner, managed code

 - (void)viewdidload {         [super viewdidload];         self.view.backgroundcolor = [uicolor viewflipsidebackgroundcolor];          [textview setfont:[uifont fontwithname:@"trebuchetms" size:12]];          adview=[[adbannerview alloc] initwithframe:cgrectmake(0.0f, 460.0f, 0.0f, 0.0f)];         adview.currentcontentsizeidentifier=adbannercontentsizeidentifierportrait;         [self.view addsubview:adview];         self.adview.delegate=self;         self.bannerisvisible=no;          uidevice *thedevice=[uidevice currentdevice];         nsstring *ios;         ios=thedevice.systemversion;         float ios2 = [ios floatvalue];          if (ios2>=4.0) {             self.bannerisvisible = no;         }          [super viewdidload];      }      -(void)bannerviewdidloadad:(adbannerview *)banner {         if(!self.bannerisvisible) {             [uiview beginanimations:@"animateadbanneron" context:null];             banner.frame=cgrectoffset(banner.frame, 0, -50.0f);             [uiview commitanimations];             self.bannerisvisible=yes;         }     } 

there's wrong?

don't call [super viewdidload]; twice.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -