Considering that people treat the screenshot button press as a way to "share”, Apple should consider making that function be contextually aware. Perhaps even add new APIs to allow apps to output different pixels when that button combo is pressed.

Imagine if every time someone took a screenshot of a photo in the photos app, the little screenshot thumbnail that appeared was actually just the full res photo rather than an actual screenshot.

Safari already kinda does this.

// cc @siracusa

@Daytonlowell @siracusa there is already an API to do the same thing as Safari, but I agree that hijacking this as a hardware ‘share action’ would be great. https://developer.apple.com/documentation/uikit/uiscreenshotservice
UIScreenshotService | Apple Developer Documentation

An object that coordinates the creation of PDF screenshots of an app’s content.

Apple Developer Documentation
@ben_lings Looks like it's PDF only? I'd want a photo app to be able to provide a JPEG/HEIF/JPEG-XL/whatever format image instead.
@Daytonlowell yeah - I think it is PDF only (like Safari). I agree that it would be great if an app could choose whatever format it wanted for this.