Skip to content

Conversation

@mikej
Copy link

@mikej mikej commented Jan 26, 2014

Hi

Please can you consider incorporating this, or something like it, into a future release. It's handy to have the subject pre-populated when sharing links with people and is also useful when using share via email to add to services like Pinboard etc. I did see there was an earlier pull request about something similar, but I think that one was adding to the message body rather than the subject.

Screenshot as an example of what this looks like in the message composer:

ios simulator screen shot 26 jan 2014 16 31 16

@guiambros
Copy link

Yes, agree, this would be very helpful.

@mikej
Copy link
Author

mikej commented Jan 26, 2014

Hi Grant

Thanks for looking at my pull request so quickly. Sorry, I hadn't spotted that this was undocumented. I was going off the example in this Stack Overflow answer.

I've just done a bit more digging and it looks like activityViewController:subjectForActivityType: is the official way to do this on iOS 7.0 and later so I will take a look and redoing this change using that approach.

@grp
Copy link
Owner

grp commented Jan 27, 2014

Cool, that sounds like a good solution.

@mikej
Copy link
Author

mikej commented Jan 28, 2014

Hi. When you get a chance, please take a look at this updated version that uses UIActivityItemSource. Thanks.

@mikej
Copy link
Author

mikej commented Jan 10, 2021

PR is from a long time ago and app hasn't been updated recently so closing.

@mikej mikej closed this Jan 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants