title: Popup UIPickerview when button is pressed
body: <p>Is there something wrong with this code because when i press the button to pop up the  <code>UIPickerview</code>.  Nothing happens. Why is that</p>
  
  <pre><code>  -(void)pickerview:(id)sender
  {
  items =[[NSArray alloc]initWithObjects:@"Hindi",@"English",nil];
  
  pickerView=[[UIPickerView alloc] initWithFrame:CGRectMake(10,100,150,150)];
  
  pickerView.transform = CGAffineTransformMakeScale(0.75f, 0.75f);
  
  pickerView.delegate = self;
  
  pickerView.dataSource = self;
  
  pickerView.showsSelectionIndicator = YES;
  
  pickerView.backgroundColor = [UIColor clearColor];
  
  [pickerView selectRow:1 inComponent:0 animated:YES];
  
  }
  
  - (NSInteger)numberOfComponentsInPickerView:(UIPickerView *)pickerView;
  {
  
  return 1;
  
  }
  
  - (NSInteger)pickerView:(UIPickerView *)pickerView numberOfRowsInComponent:(NSInteger)component;
  {
  
  return [items count];   
  }
  
  - (NSString *)pickerView:(UIPickerView *)pickerView titleForRow:(NSInteger)row forComponent:(NSInteger)component
  {
  
  return[items objectAtIndex:row];
  
  }
  </code></pre>
  
  <p>Can someone please tell me what is wrong with this code.</p>