Xcode 27, Device Hub, screenshot with rounded corners

Hi,

Is it no longer possible to take a screenshot with rounded corners?

In Xcode 26, you could hold down the Option key to access a different screenshot menu.
This no longer works—neither via the new print button in the Device Hub nor through the command-line tool devicectl.

xcrun continues to work, but—once again—there are no rounded corners.

Are rounded corners no longer in fashion for screenshots?

Christian

Answered by Developer Tools Engineer in 916559022

I believe the rounded corners are provided by applying the framebuffer mask. You can accomplish this using the simctl command line tool, eg:

xcrun simctl io <device id> screenshot --mask=alpha ss.png

There isn't a way to do that in Device Hub. Please file a feedback report at http://bugreport.apple.com to request it. Thanks!

Accepted Answer

I believe the rounded corners are provided by applying the framebuffer mask. You can accomplish this using the simctl command line tool, eg:

xcrun simctl io <device id> screenshot --mask=alpha ss.png

There isn't a way to do that in Device Hub. Please file a feedback report at http://bugreport.apple.com to request it. Thanks!

Hi,

thanks a lot for the tip regarding the mask. It worked.

feedback report: FB25568125