If you are spending your days doing tons of rapid iteration of your SwiftUI views as part of your iOS 26 redesign, can I recommend these two custom keyboard shortcuts”

1) Re-map “Refresh Canvas” to ⌘P. I never print my code but find I need to manually refresh things very often.

2) Re-map “Export Preview Screenshot" to ⌥ ⌘P. This saves a PNG screenshot of the current canvas view. I'm using this as part of my Design Diary series, but otherwise I use it all the time just to have past references.

@_Davidsmith this is so easy but clever, thanks for the idea!
@_Davidsmith is the screenshot pixel accurate to the device? I hate that I can’t measure things in previews
@tom It appears to give a resulting file which is the same resolution as the device being previewed, so I think so.
@_Davidsmith oh wow, TIL of the canvas export!
@b3ll @_Davidsmith same for me! Thank you David for sharing this!
@_Davidsmith omg thank you so much! I had no idea you could export previews as screenshots

@_Davidsmith I remap Cmd-P to “update swift packages” since I use a ton of my own external packages.

Muscle memory now, so on a fresh install I see a lot of Dogcow until I remember to map it again.

@_Davidsmith I use those key commands for Swift Package Manager Xcode commands. Update packages, reset, etc…

Previews would make sense too,