0

I tried to parse text data (containing strings and a link) for share, the thing is that for anything other than Facebook it sends the data as expected, but for the Facebook it does only parse the links.

Here's my code used for the share:

var item = NSObject.FromObject("Hello World !" + "\r\n" + "http://www.google.com");
            var activityItems = new NSObject[] { item };
            UIActivity[] applicationActivities = null;

            var activityController = new UIActivityViewController(activityItems, applicationActivities);

            PresentViewController(activityController, true, null);
Seif Selmi
  • 67
  • 1
  • 8
  • According to this [post](https://stackoverflow.com/questions/29854282/uiactivityviewcontroller-for-facebook-not-showing-default-text). It seems facebook refuses developers to pre-fill posts with text. You can try to use SDK. – Ax1le Jun 08 '18 at 08:13
  • Okay I got it thank you. – Seif Selmi Jun 08 '18 at 09:43

0 Answers0