Clicky

Previewing The System Share Sheet

.ryanAckermann()

Previewing The System Share Sheet

May 23, 2018

A way to represent what you’re sharing.

Open Source

I’m a huge fan of the third party Twitter client Tweetbot. They inspired this project with their implementation of additional UI on top of the system share sheet.

Comparison

The goal of this project is to show a small preview of what’s being shared to other apps.

I searched around the web for an example of how this could be accomplished. Needless to say I didn’t come across anything, hence this project.

My solution uses auto layout to pin the preview above the UIActivityViewController’s view. This works well and accounts for the content that can grow too large by pinning to the top of the screen as well.

Check out this project on GitHub!