Adding an alert for closing the Analysis view

You can add an alert to display when a user closes the Analysis view in the app.

Perform this task by editing the file MyConfiguration.plist in the copy of the DeploymentKitApp in Xcode on your computer.

Procedure

  1. In the file MyConfiguration.plist, in the Property List view, locate the key labelled AnalysisViewCloseAlertMessage.
    Key Type Value
    AnalysisViewCloseAlertMessage String Analysis Close Alert Message
  2. Edit the entry, providing the alert message to display.

    The alert is displayed only if the message setting contains one or more characters for the string value.

    Note: In the Source Code view, this section appears as follows.
    <key>AnalysisViewCloseAlertMessage</key>
    <string>Analysis Close Alert Message</string>
    
    Key Type Value
    AnalysisViewCloseAlertMessage String My new Analysis close message.
  3. Optional: Locate the key labelled AnalysisViewCloseAlertTitle.
    Key Type Value
    AnalysisViewCloseAlertTitle String Analysis Close Alert Title
  4. Optional: Edit the entry, providing the title for the alert message.
    Note: In the Source Code view, this section appears as follows.
    <key>AnalysisViewCloseAlertTitle</key>
    <string>Analysis Close Alert Title</string>
    Key Type Value
    AnalysisViewCloseAlertTitle String My new Analysis close title.

Result

The customized alert is displayed when the user closes the Analysis view.
Related reference