I want to display the button.tag value in UITextField. For that I append the tapped button value in array. I initialized the array on top as
var inputString:Array = [String]()
Now I tried to put these array values in UITextField like this
self.txtPassword.text = self.inputString
I tried this as I did earlier in objective c. But in swift I am unable to do this. Please someone give me solution. Thanks
inputString.joined()orinputString.joined(withSeparator: ", ")