質問編集履歴
2
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -134,7 +134,7 @@
|
|
134
134
|
|
135
135
|
//問題のカスタムセル
|
136
136
|
|
137
|
-
collectionView.registerClass(
|
137
|
+
collectionView.registerClass(customCell.self, forCellWithReuseIdentifier: "customCell")
|
138
138
|
|
139
139
|
|
140
140
|
|
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -372,7 +372,7 @@
|
|
372
372
|
|
373
373
|
let buttonHeight:CGFloat = 26
|
374
374
|
|
375
|
-
button.frame = CGRectMake((screenWidth -
|
375
|
+
button.frame = CGRectMake((screenWidth - buttonWidth)/2,10 + imageHeight + 10 + labelHeight + 10, buttonWidth, buttonHeight)
|
376
376
|
|
377
377
|
self.container.addSubview(button)
|
378
378
|
|