title: UIButton action EXC_BAD_ACCESS ARC
body: <p>I have a scrollview and am adding a views with image label and button to the scrollview. I am adding the actions to the button and everything looks fine when I run it but when I click on a button the app crashes with EXC_BAD_ACCESS. I am using ARC so not sure if that is causing issues but it shouldn't. It seems as it can't find my action like something was released from memory. Here is my code:</p>
  
  <pre><code>-(void)lvlSelected:(id)sender{
      NSLog(@"Selected level pack");
  }
  
  /*
   DISPLPAYPACKS
   This will take the loaded level packs and display them in the scroll view for selection
   */
  
  -(void)displayPacks{
      //Iterate thru the installed level packs and load some tiles they can select
      for (int i = 0; i &lt; installedLevelPacks.count; i++){ 
          levelPack *curPack = [installedLevelPacks objectAtIndex:i];
          CGFloat x = i * 110; 
          //Add the view to contain the rest of our elements
          UIView *tileView = [[UIView alloc] initWithFrame:CGRectMake(x, 0, 100, 125)]; 
          //view.backgroundColor = [UIColor greenColor]; 
          //Add a label to the bottom to hold the title
          UILabel *titleLbl = [[UILabel alloc] initWithFrame:CGRectMake(0, tileView.frame.origin.y+100, 100, 25)];
          titleLbl.textAlignment=UITextAlignmentCenter;
          titleLbl.font=[UIFont fontWithName:@"American Typewriter" size:12];
          titleLbl.adjustsFontSizeToFitWidth=YES;
          titleLbl.text=curPack.title;
          //Add the preview image to the tile
          UIImageView *previewImg = [[UIImageView alloc] initWithImage:[UIImage imageNamed:curPack.previewImg]];
          previewImg.frame=CGRectMake(0, 0, 100, 100);
          //Add the button over the tile
          UIButton *aButton = [UIButton buttonWithType:UIButtonTypeCustom];
          aButton.frame = CGRectMake(0, 0, 100, 125);
          //Set the tag to the level ID so we can get the pack later
          [aButton setTag:i];
          [aButton setTitle:curPack.title forState:UIControlStateNormal];
          [aButton addTarget:self action:@selector(lvlSelected:) forControlEvents:UIControlEventTouchUpInside];
  
          [tileView addSubview:previewImg];
          [tileView addSubview:titleLbl];
          [tileView addSubview:aButton];
          [lvlScroller addSubview:tileView]; 
      }
      //Set the total size for the scrollable content
      lvlScroller.contentSize = CGSizeMake(installedLevelPacks.count*110, 125); 
  }
  </code></pre>
  
  <p>I really am missing something here, I have done this before but not with ARC so that's why I am stuck on that being the culprit.</p>
  
  <p>NSZombie output states:
  An Objective-C message was sent to a deallocated object (zombie) at address: 0x6b8d530.  ￼</p>