Skip to content
This repository has been archived by the owner on Apr 8, 2021. It is now read-only.

Feature: Subject field #22

Open
cbrunnkvist opened this issue Mar 5, 2013 · 6 comments
Open

Feature: Subject field #22

cbrunnkvist opened this issue Mar 5, 2013 · 6 comments

Comments

@cbrunnkvist
Copy link

Hi. There does not seem to be a was to pass in subject for e.g. sharing via mail - field ignored for channels where irrelevant. I think it would make sense:

Social.activityView({
    text : String.format('%s - a great deal! [...]', offer),
    subject : 'The best deal?!',
});
@viezel
Copy link
Owner

viezel commented Mar 5, 2013

@viezel
Copy link
Owner

viezel commented Mar 5, 2013

but yeah, it make sense to have a subject field. Dont I dont think its supported.

@cbrunnkvist
Copy link
Author

Thanks for the link -

UIActivityTypeMail
[...] You may also specify NSURL objects whose contents use the mailto scheme.

Huh so if we use a mailto NSURL object, it should solve it:
http://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Reference/Articles/MailLinks.html#//apple_ref/doc/uid/TP40007892-SW1

@viezel
Copy link
Owner

viezel commented Mar 6, 2013

Hi there.. Would you care to do a PR?
im not quite following you, so you might be better at coding your feature :)

@caspahouzer
Copy link

I think, that many would use this subject field, too 👍

@chrisribe
Copy link

Seems the link that cbrunnkvist gave is dead.

Here is an equivalent (I think).
https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/MailLinks/MailLinks.html#//apple_ref/doc/uid/TP40007899-CH4-SW1

Sucks we can't access the subject, odd why would apple prevent it ?
Chris

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants