
Issue 778
27th November 2026
Written by Alex Ozun
Comment
Once in a while, app developers come up with new user experiences that Apple notices, “blesses”, and makes part of the official developer toolkit. Perhaps the most canonical example is pull-to-refresh: Loren Brichter invented it in Tweetie, and Apple then brought it into UIKit as UIRefreshControl. Other times, developers work around a system limitation, demonstrating the demand for a certain UX, and Apple responds with a sanctioned API to enable it. A good example is the Taptic Engine, which arrived with no public API, leaving developers to use undocumented system sound IDs to trigger it. Later, Apple closed the gap with UIFeedbackGenerator.
We may be about to see a similar ‘from-hacky-to-blessed’ story for voice dictation in custom keyboards.
Custom keyboards have been around since iOS 8, mostly as a niche category, but with the rise of LLMs, there’s been a revival of third-party keyboards, many of which now provide voice dictation with AI transcription. Dictation requires microphone access, but keyboard extensions don’t have it. To work around this, keyboards make users perform an awkward app-to-app switcheroo. With a keyboard open in a target app, tapping the mic button sends users to the keyboard’s parent app to start recording, then they have to manually return to the target app to see the transcription.
But last week, the developers of the Raycast keyboard, Johan Thorell and Thomas Paul Mann, discovered a clever solution that enables voice dictation right in the keyboard, without switching apps.
In short, the keyboard embeds a hidden WKWebView, which runs in a separate process and can access the microphone and feed the audio back to the keyboard for transcription. For the full technical details and his expert opinion, read Daniel Saidi’s excellent blog post!
What makes this story particularly interesting is that the Raycast team shared the solution publicly, and other keyboard developers adopted it immediately, changing the app category overnight (quite literally).
Johan told me on a call that the discovery wasn’t a happy little accident, but the result of a deliberate hunt. He and Thomas knew from working on their macOS apps that web views can serve as an out-of-process bridge between an app and the OS. The two explored the entire WKWebView API surface, but the initial experiments were fruitless, and they considered it a likely dead end. But they didn’t want to give up, and gave it the classic engineer’s “just a couple more days” push and eventually hit the jackpot with getUserMedia.
I asked Johan why they shared the solution with other developers (and competitors), giving up Raycast’s edge, rather than “keep it secret, keep it safe”. He explained that with today’s AI-assisted reverse engineering, others would’ve figured it out soon anyway, so they’d rather capitalise on the publicity.
Regardless of the motive, I think it was the right decision, one that puts the custom keyboard community in a much better position with Apple. It’s true that the solution circumvents Apple’s deliberate restriction on keyboard extensions, and Apple may well decide to patch it. But it’s also true that it only uses documented APIs, respects the parent app’s microphone permission, and triggers the orange microphone indicator when recording. More importantly, many developers quickly adopted this solution, and in-keyboard dictation received an overwhelmingly positive response from users, demonstrating strong demand for a sanctioned microphone API in keyboards.
I can’t think of a better way to end than by echoing Daniel’s plea to Apple:
So, Apple, if you’re reading this: people clearly want to build amazing keyboards. Please let us do it, without having to hide behind invisible web views.
– Alex Ozun
Sponsored Link
Go Beyond Crash Reports: A Toolkit for Mobile DevelopersCrash reports show what broke, not what your users experienced. The Mobile Developer Toolkit from Datadog bundles four resources: a guide to the mobile performance signals worth monitoring, a walkthrough for investigating slow app launches, an on-demand webinar, and a DASH session with The New York Times. Download the free toolkit.
News
Meet the 2026 App Store Award finalistsThis year’s list of App Store Award finalists is out! I won’t lie, to me this year doesn’t look as strong as the previous one, but that’s just my opinion. Still, there are certainly stand-outs. My favourite entry is probably Cueva de las Manos, the Vision Pro game.
It’s also interesting to see Big Walk among Mac Game of the Year Finalists, considering the ongoing IGF Game of the Year controversy related to AI usage in game development. I’d be keen to know Apple’s stance on this matter.
Code
swift-service-lifecycle: Making Service Lifetime Part of Swift Structured ConcurrencyIn this article, Ivan Tokar looks into the source code of the swift-server/swift-service-lifecycle library and draws valuable lessons on task ownership and the distinction between a simple task cancellation and a graceful shutdown of task groups. In fact, Ivan has a whole series of articles based on lessons from official Swift libraries, and I highly recommend going through them. I’ve said this myself, reading Apple’s source code is the best way to learn complex topics like Swift Concurrency.
Xcode MCP vs xcodebuild: build and test speed compared
You might find Antoine’s new article interesting even if you don’t use or intend to use AI agents. It demonstrates a surprising result: despite using the same underlying build system, Xcode MCP is somehow faster than xcodebuild. There isn’t a 100% proof, but all evidence points at the difference in how the build system’s lifetime is managed by the two interfaces.
Tools
HappyKeywordsI just discovered Yuri Brei’s website HappyKeywords that offers a whole suite of App Store optimization tools, including free ones like name availability checker. Neat!
xcmutate: diff-driven mutation testing for Swift
Mutation testing is a technique where you make deliberate changes to the source code to see if the corresponding tests start to fail. For example, if you change == to != and all the tests still pass, you may conclude that they’re not robust enough. It’s an established technique in software engineering in general, but is still quite niche in Swift development.
That’s why Ryo Hirota’s Swift Forums announcement caught my eye. One problem with mutation testing is that it can be quite expensive to run, and it’s generally hard to decide which code to exercise. So I particularly liked the CI-centered spin on the tool’s design, which lets you run mutations only on the code that’s been modified in a pull request.
And finally...
Did I just hear my trackpad talk? 🤨
