Forum Xamarin Xamarin.iOS

How to implement the share extension to add my app in the share functionality in Safari ?

danielparedes97danielparedes97 Member ✭✭✭

I have a Xamarin Forms project, and I would like to share an url of the browser to the app.

I already have the solution for Android thanks to this question (https://forums.xamarin.com/discussion/176844/how-to-share-an-url-to-my-app#latest)
But I don't know how to do it on iOS.

I watched the example video of Microsoft (https://docs.microsoft.com/en-us/xamarin/ios/platform/extensions) but Jesse Dietrichson made the example with Xamarin Studio, and I use Visual Studio to develop C#.

Could anyone help me ??

Answers

  • ColeXColeX Member, Xamarin Team Xamurai

    Check the sample : https://docs.microsoft.com/en-us/samples/xamarin/ios-samples/ios8-share/

    This is an app extension sample using the Share Extension. The extension is avaible across the whole system by clicking on the iOS share button (square + arrow). It provides a simple view related to the content you wanted to share and prompts you when you tap the "post" button.

    Note : please test on real device .

Sign In or Register to comment.