Created
August 15, 2016 12:20
-
-
Save hudinwal/da1fb05d86c82470afe776a4a2e75597 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Custom table view class so not to handle touches that cannot be handled by the content view. | |
class TableView: UITableView { | |
override func hitTest(point: CGPoint, withEvent event: UIEvent?) -> UIView? { | |
return subviews.first?.hitTest(point, withEvent: event) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment