回答編集履歴

1

コードのミス

2016/02/22 11:26

投稿

K_S_
K_S_

スコア419

test CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  newButton = CGRect(x: 50,y: 50+50*i,width: 200,height: 40)
18
18
 
19
- newButton = i
19
+ newButton.tag = i
20
20
 
21
21
  Buttons.append(newButton)
22
22