madjid / MMPickerView

An easy to use and customizable PickerView for your iOS app.
MIT License
237 stars 59 forks source link

Don't show the picker if it's already showing. #5

Open rickerbh opened 10 years ago

rickerbh commented 10 years ago

If the picker is already displayed, and a user taps a control to show it again (e.g., in a space that isn't covered by the overlay like a UINavigationBar), the picker and associated views will be added again. This code avoids that.