How to overcome a uiview in swift

0

I have a uiview and inside the uiview a tableview, try to do something like this: link

What happens is that when I click on the uiview, it also clicks on the tableview cell, which I could do so that by clicking on the uiview, I just click on that and not on the cell in the table when that cell is down?

thanks

    
asked by Jonathan Gutierrez Sosa 30.11.2017 в 01:38
source

1 answer

0

You can deactivate touch events from the table using

self.tableView.isUserInteractionEnabled = false

and when you want me to recognize the touch events again, you put that property to true

    
answered by 01.12.2017 в 22:26