質問編集履歴
3
画像の挿入
test
CHANGED
File without changes
|
test
CHANGED
@@ -11,8 +11,6 @@
|
|
11
11
|
|
12
12
|
|
13
13
|
storyboard上のstack viewの大きさに関係なく具体的な値にボタンの大きさを設定するにはどうすれば良いのでしょうか
|
14
|
-
|
15
|
-
|
16
14
|
|
17
15
|
|
18
16
|
|
@@ -73,3 +71,7 @@
|
|
73
71
|
}
|
74
72
|
|
75
73
|
```
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
![イメージ説明](446606974718b139fb6c30182d53c2c5.png)
|
2
文法の修正
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Stack View
|
1
|
+
Stack ViewでのLayoutAnchorを使ったボタンのサイズが設定できない
|
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
### Stack View
|
1
|
+
### Stack ViewでのLayoutAnchorを使ったボタンのサイズが設定できない
|
2
2
|
|
3
3
|
|
4
4
|
|
@@ -46,6 +46,12 @@
|
|
46
46
|
|
47
47
|
}
|
48
48
|
|
49
|
+
@objc func ratingButtonTapped(button: UIButton) {
|
50
|
+
|
51
|
+
print("button tapped!")
|
52
|
+
|
53
|
+
}
|
54
|
+
|
49
55
|
|
50
56
|
|
51
57
|
private func setupButtons(){
|
@@ -60,6 +66,8 @@
|
|
60
66
|
|
61
67
|
button.widthAnchor.constraint(equalToConstant: 44.0).isActive = true
|
62
68
|
|
69
|
+
button.addTarget(self, action: #selector(RatingControl.ratingButtonTapped(button:)), for: .touchUpInside)
|
70
|
+
|
63
71
|
addArrangedSubview(button)
|
64
72
|
|
65
73
|
}
|
1
初心者マークの追加
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|