Skip to content

iOS Prompt Lab: Missing Text Selection and Copy Functionality #902

@abdoljh

Description

@abdoljh

Description of the bug:

Description:
In the current iOS version of the AI Edge Gallery (TestFlight), there is no way to natively extract or copy text from the Prompt Lab. This is particularly problematic for developers using the app to generate code snippets, as third-party OCR (like iOS Live Text) fails to preserve vital indentation/formatting.

Current Behavior:

  • There is no "Copy" icon below generated responses.
  • The "Long-press to select" gesture is disabled/not implemented in the UI.
  • Users must rely on screenshots + Live Text, which strips indentation from code (e.g., Python scripts or YAML files).

Expected Behavior:

  • A dedicated "Copy" button should be added to each response bubble.
  • Standard iOS text selection (long-press) should be enabled to allow users to copy specific segments of text.
  • Code blocks should ideally have a "Copy Code" button that preserves all whitespace and formatting.

Environment:

  • App: Google AI Edge Gallery (iOS)
  • App version: 1.0
  • Device: iPhone 15 Pro Max
  • iOS Version: iOS26.2

Actual vs expected behavior:

No response

Any other information you'd like to share?

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions