In Swift 3, 4, 5: button.setTitle("Button Title", for: .normal). Otherwise: button.setTitle("Button Title", forState: UIControlState.Normal).
確定! 回上一頁