1

When a user is at a website on a mobile device and decides to share the link using the built-in share feature, how do you determine what value is used for the share content?

screenshot of website with share popup

screenshot of twitter post form

As you can see, it just pulls the title of the website when you share to Twitter for example.

You can change it, but is there a way to determine what is populated so it doesn't just pull in the title automatically?

I do have all of the meta tags set up on the page for stuff like Twitter cards and all that. I am just not sure how to control this.

Gino Mempin
  • 25,369
  • 29
  • 96
  • 135
Spencer Cooley
  • 8,471
  • 16
  • 48
  • 63

1 Answers1

0

These are controlled by the activityItems you pass on to a UIActivityViewController..

You should find more details in the below links

The official documentation is here

Brilliant Mattt Thompson has a write up on this here

Subbu
  • 2,138
  • 14
  • 20