title: UiButton + UipickerView Action method not calling all devices (below version of iOS 5)
body: <blockquote>
    <p>Hi all i have strange problem with UIPickerview + UIButton.. I have
    create a project with xcode 4.2. I add UIPickerview with 2 components
    in 1st component i add a label and 2nd component i add button, on
    button click i have to go other view  . every thing is working fine in
    simulator and iOS 5 devices but not working in Devices which have
    version below iOS 5. My code is here</p>
  </blockquote>
  
  <pre><code>- (UIView *)pickerView:(UIPickerView *)pickerView viewForRow:(NSInteger)row forComponent:(NSInteger)component reusingView:(UIView *)view
  {
      UIView *tempView;
  
      if(component==1)
      {
          tempView=[[UIView alloc] initWithFrame:CGRectMake(0, 0,60, 50)]; 
          UIButton *_btnYou=[UIButton buttonWithType:UIButtonTypeCustom];
          [_btnYou setFrame:CGRectMake(5, 0,55, 50)];
          [_btnYou setImage:[UIImage imageNamed:@"icon_i.png"] forState:UIControlStateNormal];
           [_btnYou setImage:[UIImage imageNamed:@"icon_u.png"] forState:UIControlStateHighlighted];
          [_btnYou addTarget:self action:@selector(GoToRegistrationPage:) forControlEvents:UIControlEventTouchDown];
          [tempView addSubview:_btnYou];
          [_btnYou setUserInteractionEnabled:YES];
          return tempView;
          //return  _btnYou;
      }
      else 
      {
          tempView=[[UIView alloc] initWithFrame:CGRectMake(0, 0,168, 50)]; 
          if(!([[dates objectAtIndex:row] isEqualToString:@"Today"]||[[dates objectAtIndex:row] isEqualToString:@"Idag"])){
              //add days
              UILabel *lab=[[UILabel alloc] initWithFrame:CGRectMake(3, 0,54, 50)];
              [lab setBackgroundColor:[UIColor clearColor]];
              [lab setTextColor:[UIColor grayColor]];
              [lab setTextAlignment:UITextAlignmentRight];
              [lab setFont:[UIFont fontWithName:@"Helvetica" size:20]];
              [lab setFont:[UIFont boldSystemFontOfSize:20]];
              lab.text=[[[dates objectAtIndex:row] componentsSeparatedByString:@","] objectAtIndex:0];
              [tempView addSubview:lab];
          }
          //add month
  
          UILabel *labDate=[[UILabel alloc] initWithFrame:CGRectMake(62, 0,106, 50)];
          [labDate setBackgroundColor:[UIColor clearColor]];
          [labDate setTextColor:[UIColor blackColor]];
          [labDate setTextAlignment:UITextAlignmentLeft];
          [labDate setFont:[UIFont fontWithName:@"Helvetica" size:25]];
          [labDate setFont:[UIFont boldSystemFontOfSize:25]];
          if(([[dates objectAtIndex:row] isEqualToString:@"Today"]||[[dates objectAtIndex:row] isEqualToString:@"Idag"])){
              [labDate setTextColor:[UIColor greenColor]];
              [labDate setTextAlignment:UITextAlignmentCenter];
              labDate.text=[dates objectAtIndex:row]; 
          }else{
              labDate.text=[[[dates objectAtIndex:row] componentsSeparatedByString:@","] objectAtIndex:1];
          }
          [tempView addSubview:labDate];
      }
      return tempView;
  }
  
  -(NSInteger)numberOfComponentsInPickerView:(UIPickerView *)pickerView 
  {
      return 2;
  }
  
  -(NSInteger)pickerView:(UIPickerView *)pickerView numberOfRowsInComponent:(NSInteger)component
  {
      if(component == 0)
          return [dates count];
      else if(component == 1)
          return 4;
  }
  
  - (CGFloat)pickerView:(UIPickerView *)pickerView widthForComponent:(NSInteger)component
  {
      if(component == 0)
          return 168.0;
      else if(component == 1)
          return 66.0;
  }
  
  - (CGFloat)pickerView:(UIPickerView *)pickerView rowHeightForComponent:(NSInteger)component
  {
      return 50.0;
  }
  
  - (void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component
  {
      notificationDate=[dates objectAtIndex:[pickerView selectedRowInComponent:0]];
      NSLog(@"%@", [dates objectAtIndex:[pickerView selectedRowInComponent:0]]);
  }
  
  -(void)GoToRegistrationPage:(id)sender
  {
      NSLog(@"This is GoToRegistrationPage Button");
  }
  </code></pre>
  
  <p>GoToRegistrationPage metod not calling Devices (version