Open nikoagge opened 6 years ago
var shouldSelect: Bool = true @IBAction func radioButtonClicked() { DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) { self.radioButton.isSelected = self.shouldSelect self.shouldSelect = !self.shouldSelect }
}
Hi you can just assign the radio button you used to false
E.g self.radioButton.isSelected = false
Has anyone found how to do this programmatically in Swift?