No method declared with Objective-C selector
xcode9.1,swift4.0初试swift,在给按钮添加响应事件时,用selector反复报错yourBtn.addTarget(self, action:"clickYourBtn", for: UIControlEvents.touchUpInside) ,报错如标题yourBtn.addTarget(self, action:Selector("clickYourBtn"), for:...
原创
2018-05-09 13:16:15 ·
1545 阅读 ·
0 评论