title: Want to dismiss UIPickerView in UIView while touching outside
body: <p>I'm trying to dismiss by UIPickerView by just touching outside the view, onto a UIView.  I've seen other posts like <a href="https://stackoverflow.com/questions/5148781/having-trouble-hiding-keyboard-using-invisible-button-which-sits-on-top-of-uiscro/5149805#5149805">this one</a> that explains how to use the NotificationCenter to dismiss the UIKeyboard when pressing outside the keyboard.  I'd like to know if there's a similar way of doing the same thing with a UIPickerView.  Right now I'm using a done button inside of a UIActionSheet, but I like the idea of giving the user the option to just click outside the view.
  Also, I'm aware of the idea to use an "invisible button", which works about the same way, I was just looking to see if there's a more elegant solution.<br>
  Thanks in advance.</p>