Filip Němeček 12/30/2022

How to customize share sheet content for AirDrop

Read Original

This article explains a developer's solution to an AirDrop-specific issue where sharing text from an app saved a file instead of opening a link. It details implementing the UIActivityItemSource protocol in Swift to provide different data (a URL vs. plain text) based on the user's selected share destination, such as AirDrop or Add to Reading List.

How to customize share sheet content for AirDrop

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser