Apple’s iPhone Duo may support Apple Pencil hover, a capability that lets the stylus trigger on-screen actions just by getting close to the display without touching it. Developer pdfu found the evidence buried in iOS 27’s code for Apple’s “Lightweight UI” feature.
Pdfu shared the findings in a thread on X, tracing how Apple built out the feature across macOS 27, iPadOS 27, and now iOS 27. Lightweight UI is Apple’s internal name for the Writing Tools accessory that appears when Siri AI is active. It currently ships with macOS 27, where a small Siri icon expands into Ask Siri and action suggestions.
iPadOS 27 Already Has the Framework Built In
According to pdfu, iPadOS 27 ships with the feature present but disabled behind a flag called WritingTools/LightweightUI_iPad. Developers can turn it on inside their own apps by overriding UIResponder._isLightweightUIEnabledForWritingTools.
On iPad, the feature works the same way it does on Mac. Pair a Magic Keyboard, hover the pointer over selected text, and the Lightweight UI accessory shows up. Here’s how pdfu broke down the discovery:
- Lightweight UI ships live in macOS 27 today, tied to Siri AI
- iPadOS 27 has the same feature, currently disabled by default
- iPad activates it through Magic Keyboard pointer hover over selected text
- iOS 27’s release candidate added a separate presentation branch tagged for iPhone Duo, referenced internally by device code V68
- iPadOS also supports invoking the feature through Apple Pencil hover, not just a pointer
That last point is what makes the iPhone Duo branch notable. iPhone Duo doesn’t primarily support a mouse and keyboard the way iPad does, so a pointer-based hover trigger wouldn’t make sense on the device. Since iPadOS already has an Apple Pencil hover path to the same feature, pdfu concludes iPhone Duo needs Apple Pencil hover support to make its new code branch functional at all.
Hover Support Wasn’t a Given for iPhone Duo
Apple Pencil hover isn’t universal across every Apple Pencil and iPad combination, which is why pdfu flagged this as a real finding rather than an assumption. The 11th generation iPad doesn’t support hover with the Apple Pencil with USB-C, even though that same Apple Pencil model does support hover on other iPad models.
iPhone Duo is already confirmed to work with the Apple Pencil with USB-C. That stylus pairs and charges over a cable, skips Double Tap and pressure sensitivity, but does read tilt angle. Apple reportedly couldn’t fit the Apple Pencil Pro’s charging mount into the fold mechanism without interfering with how the device opens and closes.
The code branch pdfu found doesn’t confirm hover works on iPhone Duo outright. It confirms Apple built a specific path for it to work, which only makes sense if the hardware supports the hover distance detection Apple Pencil hover requires.
Our Take
I think this is one of those code discoveries that matters more for what it implies about Apple’s hardware decisions than for the feature itself. Apple doesn’t write a whole separate presentation branch for a device that can’t use it. If iPhone Duo is getting its own Lightweight UI path in iOS 27, the sensor stack behind Apple Pencil hover almost certainly made it into the fold design, and that’s a bigger hardware commitment than a single UI flourish.
It also tells you Apple is treating iPhone Duo’s Apple Pencil support as more than a checkbox feature bolted on late. Building hover support into a foldable display, where component space is already tight enough to rule out the Apple Pencil Pro’s charging mount, means Apple prioritized it early in the design process rather than patching it in afterward.
iPhone Duo will ship with iOS 27.1 out of the box so we might find out more once the first beta is released.