Pushker Pandey
Pushker Pandey
how to customize the height of the drop down according to the screens
tap.cancelsTouchesInView = false this can solve your problem func hideKeyboardWhenTappedAround() { let tap: UITapGestureRecognizer = UITapGestureRecognizer(target: self, action: #selector(UIViewController.dismissKeyboard)) tap.cancelsTouchesInView = false view.addGestureRecognizer(tap) }
> I have country dropdown list and i am tapping on the country is its not selecting anything in the textbox tap.cancelsTouchesInView = false this can solve your problem func...