Spotfire® Deployment Kit for Apple iOS

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.

About this task

Perform this task in the copy of the DeploymentKitApp in Xcode on your computer. In Xcode Project navigator, browse to and open DeploymentKitApp > MyConfiguration.

Procedure

  1. In DeploymentKitApp > MyConfiguration, find the key labeled 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 is displayed as follows.
    <key>AnalysisViewCloseAlertMessage</key>
    <string>Analysis Close Alert Message</string>
    
    Key Type Value
    AnalysisViewCloseAlertMessage String My new Analysis close message.
  3. Optional: Find the key labeled 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 is displayed as follows.
    <key>AnalysisViewCloseAlertTitle</key>
    <string>Analysis Close Alert Title</string>
    Key Type Value
    AnalysisViewCloseAlertTitle String My new Analysis close title.

Results

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