标签:
响应单击事件:
blankView.userInteractionEnabled = true let blankTap = UITapGestureRecognizer(target: self, action: "hiddenDetail") blankView.addGestureRecognizer(blankTap)
UIView 响应单击事件.
原文地址:http://www.cnblogs.com/ericjun/p/4296276.html