SyntaxFix
Write A Post
Hire A Developer
Questions
Swift 3
When you make the @IBAction:
@IBAction func btnAction(_ sender: UIButton) { sender.setTitle("string goes here", for: .normal) }
This sets the sender as UIButton (instead of Any) so it targets the btnAction as a UIButton