質問編集履歴
1
コード修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
button.setTitleColor(UIColor.redColor(), forState: .Highlighted)
|
21
21
|
|
22
22
|
button.backgroundColor = UIColor.blueColor()
|
23
|
-
button.addTarget(self, action:#selector(
|
23
|
+
button.addTarget(self, action:#selector(ResultView.tapped(_:)), forControlEvents: .TouchUpInside)
|
24
24
|
|
25
25
|
self.view.addSubview(button)
|
26
26
|
```
|