0
我有简单的tableview与包含uibutton的自定义单元格。更新至iOS 9 GM或9.1 Beta 1(无关紧要)后,单元格停止响应。我也在单元类内部创建了IBAction方法,但它也不起作用UITableView自定义单元格(iOS 9)
cell.username.setAttributedTitle(attrNameString, forState: .Normal)
cell.username.tag = notify.likeObject.likedUserId.integerValue
cell.username.addTarget(self, action: "showProfile:", forControlEvents: .TouchUpInside)
编辑您的问题的标题。当前标题应该在标签中。 –