in sampleapp-ios-swift/AnalyticsViewController.swift [38:49]
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)
}))
present(alert, animated: true)
}