Skip to content

The share sheet no longer hides the app behind it - #191

Merged
NiallJoeMaher merged 1 commit into
mainfrom
share-sheet-presence
Nov 26, 2026
Merged

NiallJoeMaher merged 1 commit into
mainfrom
share-sheet-presence

Conversation

@NiallJoeMaher

Copy link
Copy Markdown
Contributor

Summary

Since iOS 26 the system shows a share extension inside a sheet it makes in the extension's own process: as tall as an iPhone's screen, a card in the middle of an iPad's, and filled with the system background. Pluck's sheet only draws at the foot of it, so plucking looked like an empty sheet taking over the screen.

 UIWindow
   UITransitionView
-    UIDropShadowView            bg = systemBackground, with a shadow
+    UIDropShadowView            bg = clear, shadow hidden      # ShareViewController.clearCard
       _UIDropShadowClippingView
         ShareViewController.view
           ShareView
-            scrim 30% black over the whole sheet
+            scrim clear on iOS 26+ (the system already dims the app); still takes the tap that means Done
-            working: ProgressView + "Plucking…"
+            working: the mark's three sparks on Pluck green + "Plucking…" + the page's title
+            iPad, iOS 26+: a card in the middle, all four corners, no handle

Before iOS 26 nothing above the window is ours, so clearCard finds nothing to clear and the sheet is as it was.

apps/ios/scripts/share-sheet.sh is new: an XCUITest that opens Safari's share sheet in the Simulator, picks Pluck and takes a picture about every third of a second. It is how the pictures below were made, with nothing tapped on the Mac.

Evidence

  • Before: iPhone on the iOS 27.2 Simulator: a filled sheet covers the page, with "Plucked." at its foot. The same on a phone running build 19.
    After: share-sheet.sh on four Simulators, light and dark:
    • iPhone 17, iOS 27.2: the page stays in view, dimmed; Pluck's sheet rises from the foot and grows into the form.
    • iPhone 17 Pro, iOS 26.5: the same.
    • iPhone 15, iOS 17.4: unchanged from before, the page in view as it always was there.
    • iPad Pro 13-inch, iOS 27.2: the page stays in view; Pluck's sheet is a card in the middle, with no ghost of the system's card behind it.
      A film of the iPhone and the iPad runs at 10 frames a second shows no flash of the system's sheet on the way in.

Merge Danger

Door: two-way

Blast Radius: share sheet

clearCard walks the views above the extension's own and clears their backgrounds. It names no private class and calls no private API, but it leans on how iOS 26 and 27 build that sheet. If a later iOS builds it differently the result is today's look (an empty sheet with Pluck's at its foot), not a crash. Not run on a real device: the Simulator only. Nothing ships until a new build is made.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Chg7BD2Sf1yNRFCX24or7B

Since iOS 26 the system shows a share extension in a sheet of its own, as
tall as an iPhone's screen and filled, so Pluck's sheet sat at the foot of
an empty one. The extension clears what is above its view and the app
shows through again, dimmed by the system. On iPad Pluck's sheet becomes a
card in the middle. While a pluck is on its way the row shows the mark's
three sparks where the tick will land, in place of the system's spinner.

scripts/share-sheet.sh photographs the share sheet in the Simulator with an
XCUITest, so nothing is tapped on the Mac.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Chg7BD2Sf1yNRFCX24or7B
Signed-off-by: NiallJoeMaher <[email protected]>
@vercel

vercel Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
pluck Ready Ready Preview Nov 26, 2026 9:51am UTC

Request Review

@NiallJoeMaher
NiallJoeMaher merged commit efb3f9d into main Nov 26, 2026
6 checks passed
@NiallJoeMaher
NiallJoeMaher deleted the share-sheet-presence branch November 26, 2026 09:57
NiallJoeMaher added a commit that referenced this pull request Nov 26, 2026
… it (#192)

The first public version carries #191: on iOS 26 and later, plucking from another app keeps that app in view.


Claude-Session: https://claude.ai/code/session_01Chg7BD2Sf1yNRFCX24or7B

Signed-off-by: NiallJoeMaher <[email protected]>
Co-authored-by: Claude Fable 5.2 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant