I have a tableView in my view when the user clicks on a specific cell. I am showing a view that has a date picker, it partially closes the tableView.
The problem I ran into is that the tableView captures a click on the button that closes the view containing the date picker. I tried resizing the View table to test this theory, it works fine, then the tableView is not under the button.
Does anyone know how I can prioritize button touches over a tableView?
I tried to bring the view forward: self.view.bringSubviewToFront(self.datePickerView)
And the views are in the correct order in the storyboard:
