[ad_1]
I wish to change buttons title in beneath manner, however get warning “Further arguments at positions #2, #3, #4, #5, #6, #7, #8, #9, #10 in name”
how might I make it work.
@IBOutlet weak var firstrow: UIButton!
@IBOutlet weak var secondrow: UIButton!
@IBOutlet weak var thirdrow: UIButton!
@IBAction func SecondaryKeyboard(_ sender: Any) {
firstrow.setTitle("1","2","3","4","5","6","7","8","9","0", for: UIControl.State.regular)
secondrow.setTitle("!","@","#","$","%","&","*","(",")", for: UIControl.State.regular)
thirdrow.setTitle("`",";","'",",",".","?","(", for: UIControl.State.regular)
[ad_2]
