Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

ios-keyboard-limitations

bởi usimic

Coding Agents & IDEs
780Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

iOS keyboard extension technical limitations and workarounds.

Mô tả

Kỹ năng này làm gì

iOS keyboard extensions run under strict Apple sandbox rules that block microphone access, programmatic app launching, and standard persistent storage. These limitations make voice dictation features impractical directly inside a keyboard extension. The skill documents confirmed restrictions from the PolyVoice project and outlines viable alternative architectures including Share Extensions and Siri Shortcuts.

Consolidates Apple's underdocumented keyboard sandbox restrictions with concrete workarounds and architecture tradeoffs, avoiding trial-and-error during iOS extension development.

Khi nào nên dùng

  • Planning a custom iOS keyboard that includes voice input
  • Debugging silent keyboard extension crashes caused by memory overuse
  • Choosing between a Share Extension and keyboard extension for audio processing
  • Implementing App Groups to share state between a keyboard extension and its main app
  • Evaluating Siri Shortcuts as a dictation alternative to a custom keyboard

Quy trình ví dụ

ĐẦU VÀO

User asks: Can I add microphone recording to my iOS custom keyboard?

AGENT
  1. 1

    Confirms microphone access is blocked in keyboard extensions by Apple's sandbox model

  2. 2

    Explains the ~50MB memory limit that makes audio processing impractical

  3. 3

    Describes the manual switch workaround using App Groups shared state between the keyboard and main app

  4. 4

    Presents Share Extension and full app mode as architectures with unrestricted mic access

  5. 5

    Recommends Siri Shortcuts integration for voice dictation with lower user friction

ĐẦU RA

Architecture recommendation with a clear implementation path for voice-to-text that avoids keyboard extension constraints

Cài đặt

clawhub install usimic/ios-keyboard-limitations

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết