Commit 877c3c37 by Daniel Dahan

issue-137: Fixed tap blocking issue for touch events

parent 74ff1a4d
......@@ -152,4 +152,8 @@ extension LeftViewController: UITableViewDelegate {
func tableView(tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -> CGFloat {
return 64
}
func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
print("Item selected")
}
}
......@@ -806,6 +806,7 @@ public class SideNavigationViewController: UIViewController, UIGestureRecognizer
if nil == tap {
tap = UITapGestureRecognizer(target: self, action: tapSelector)
tap!.cancelsTouchesInView = false
tap!.delegate = self
view.addGestureRecognizer(tap!)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment