func presentCustomUserIdAlert()

in sampleapp-ios-swift/CrashViewController.swift [34:45]


    func presentCustomUserIdAlert() {
        let alert = UIAlertController(title: "User ID sent",
                                      message: "",
                                      preferredStyle: .alert)
        
        // OK Button
        alert.addAction(UIAlertAction(title: "OK",
                                      style: .default,
                                      handler: { _ in alert.dismiss(animated: true)
        }))
        present(alert, animated: true, completion: nil)
    }