Spotfire® Deployment Kit for Apple iOS

Hiding the Close button in the custom web view

You can configure the app to hide the Close button in a custom web view.

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. Set this option to ensure the user cannot close a custom view and display only a blank screen.

Procedure

  1. In DeploymentKitApp > MyConfiguration, find the key labeled HideCustomViewCloseButton.
    Key Type Value
    HideCustomViewCloseButton Boolean NO
  2. Change the value from NO to YES.
    Note: In the Source Code view, this section is displayed as follows.
    <key>HideCustomViewCloseButton</key>
    <true/>
    Key Type Value
    HideCustomViewCloseButton Boolean YES

Results

The Close button is not present if this key is set to YES. Setting the value to NO is equivalent to not having this key in the configuration file.