in sampleapp-tvos-swift/AnalyticsViewController.swift [29:40]
func presentCustomEventAlert() {
let alert = UIAlertController(title: "Event sent",
message: "",
preferredStyle: .alert)
// OK Button
alert.addAction(UIAlertAction(title: "OK",
style: .default,
handler: { _ in alert.dismiss(animated: true, completion: nil)
}))
present(alert, animated: true, completion: nil)
}