addAction(UIAlertAction(title: "hackingwithswift.com", style: .default, ... method of UIAlertAction takes a parameter telling you which action was selected!
確定! 回上一頁