回答編集履歴

1

String(Int(stepVal))

2018/08/01 08:17

投稿

takabosoft
takabosoft

スコア8356

test CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  tempoLbl = UILabel(frame: CGRect(x: 0, y: 0, width: Int(self.view.frame.width/2), height: Int(self.view.frame.height/10)))
10
10
 
11
- tempoLbl.text = "120"
11
+ tempoLbl.text = String(Int(stepVal))
12
12
 
13
13
  tempoLbl.textColor = UIColor(red: 0.1, green: 0.1, blue: 1.0, alpha: 1.0)
14
14