title: Hiding/ Showing UIPickerView
body: <p>I Have an a touchesEnded event that checks for when a UITextField is pressed. What I would like it to do is is hide/show a UIPickerView. How can this be done?</p>
  
  <pre><code>- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event{
      UITouch *touch = [[event allTouches] anyObject];
      if (CGRectContainsPoint([self.textField frame], [touch locationInView:self.view]))
      {
          NSString * error = @"Touched the TextField";
          UIAlertView * errorAlert = [[UIAlertView alloc] initWithTitle:@"Selection!" message:error delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil];
          [errorAlert show];
          //Want to show or hide UIPickerView
      }
  }
  </code></pre>
  
  <p>I already have an allocated UIPickerView when touches occur</p>
  
  <pre><code>@interface ThirdViewController : UIViewController &lt;UITextFieldDelegate,UIPickerViewDelegate&gt; {
      IBOutlet UIPickerView *pickerView;
  }
  </code></pre>