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
.
Procedure
-
In
,
find the key labeled
AnalysisViewCloseAlertMessage
.
Key
|
Type
|
Value
|
AnalysisViewCloseAlertMessage
|
String
|
Analysis Close Alert
Message
|
-
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.
|
- Optional:
Find the key labeled
AnalysisViewCloseAlertTitle
.
Key
|
Type
|
Value
|
AnalysisViewCloseAlertTitle
|
String
|
Analysis Close Alert
Title
|
- 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.