Open ZawarAli6 opened 4 years ago
I am having the same issue, yesterday it was still working fine! what have you tried to fix it?
I am having the same issue, yesterday it was still working fine! what have you tried to fix it?
I didn't find any solution.
I tried updating the pod then cleaning my build but that didn’t work either. I just decided to use a UIPickerview instead with a height of 45 so only one item is displayed at a time to make it look like a drop down menu. For the first item I have scroll for options, so the user knows it’s a scroll menu and not a drop down menu. If interested let me know and I can post the code it works really well!
I am having the same issue, yesterday it was still working fine! what have you tried to fix it?
I didn't find any solution.
I tried updating the pod then cleaning my build but that didn’t work either. I just decided to use a UIPickerview instead with a height of 45 so only one item is displayed at a time to make it look like a drop down menu. For the first item I have scroll for options, so the user knows it’s a scroll menu and not a drop down menu. If interested let me know and I can post the code it works really well!
I am having the same issue, yesterday it was still working fine! what have you tried to fix it?
I didn't find any solution.
I tried updating the pod then cleaning my build but that didn’t work either. I just decided to use a UIPickerview instead with a height of 45 so only one item is displayed at a time to make it look like a drop down menu. For the first item I have scroll for options, so the user knows it’s a scroll menu and not a drop down menu. If interested let me know and I can post the code it works really well!
Yeah sure please share the code.
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 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