Build: Build Configurations Demo
This screen shows a label that changes text depending on the build configuration: Debug or Release. It helps understand how to use different settings for Debug and Release builds in an iOS app.
Target UI
------------------------- | Build Configurations | |-----------------------| | Current Mode: DEBUG | | | | [Button: Show Mode] | -------------------------
Display a label that shows 'Current Mode: DEBUG' or 'Current Mode: RELEASE' depending on the build configuration.
Add a button labeled 'Show Mode' that when tapped, updates the label with the current build mode.
Use Swift conditional compilation flags (#if DEBUG) to determine the build mode.
The UI should be simple with a label and a button centered vertically and horizontally.