Github上下下来的DEMO修改过才能用哦
override func touchesEnded(touches: NSSet, withEvent event: UIEvent) { todoItem.resignFirstResponder() }要修改成 override func touchesEnded(touches: Set
, withEvent event: UIEvent?) { todoItem.resignFirstResponder() }才是正确的override func touchesEnded(touches: NSSet, withEvent event: UIEvent) { todoItem.resignFirstResponder() }要修改成 override func touchesEnded(touches: Set
, withEvent event: UIEvent?) { todoItem.resignFirstResponder() }才是正确的2016-01-03
举报