You need to reset the batsman score, it should work.
You can try this code:
@IBAction func resetScoreButton(_ sender: Any) {
let batsmenOneScoreValue = 0
displayBatsmenOneScoreLabel.text = String(batsmenOneScoreValue)
}
You need to reset the batsman score, it should work.
You can try this code:
@IBAction func resetScoreButton(_ sender: Any) {
let batsmenOneScoreValue = 0
displayBatsmenOneScoreLabel.text = String(batsmenOneScoreValue)
}