squimer / DatePickerDialog-iOS-Swift

Date picker dialog for iOS
MIT License
581 stars 177 forks source link

How to dismiss DatePickerDialog programmatically? #67

Open rajahimanath opened 7 years ago

rajahimanath commented 7 years ago

Let us say, user presses Home Button and i want to dismiss the date picker. How do i do it? I don't see any API?

benjohnde commented 7 years ago

This is not support by the default UIAlertView. So I guess you can not intercept the invocation of the Home button in order to dismiss the date picker.