I have a view that has a UITableView as a subview, and it completely covers the parent view. When I try to implement touchesBegan for the parent view, I’m noticing the method isn’t being called at all. Is there anyway to override this behavior?
I have a view that has a UITableView as a subview , and it
Share
The
touchesBeganmethod has to do with the frame of the parent view. If the frame isn’t visible for the parent view and is totally enclosed by thesubviews, the parent view won’t receive touches.