> For the complete documentation index, see [llms.txt](https://lfdocs.lookingglassfactory.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lfdocs.lookingglassfactory.com/software/index/script-reference/ios-sample-scene-scripts.md).

# iOS Sample Scene Scripts

The iOS sample scene relies on a number of different scripts for its full functionality.

**1. Core UI Management**

* DemoIOSUIController: Manages overall UI state, navigation, and display updates
* PageHandler: Handles basic navigation logic for UI pages
* PageConnectHandler: Extends PageHandler for connection-specific logic
* PageCalibrateHandler: Manages calibration page UI and settings
* PageTestHandler: Handles test page functionality and preferences

**2. Model Interaction Controls**

* ModelController: Core class for 3D model rotation and zoom interactions
* AudioRotateControl: Controls audio feedback based on model rotation

**3. Input and UI Components**

* XYSlider: Implements 2D slider UI element for input control
* XYSpotlight: Controls spotlight position and intensity based on slider input
* ChangeInteractionModality: Manages switching between lighting and rotation controls

**4. Environment and Display**

* DynamicAlcove: Creates and manages 3D alcove environment for display
