viezel / TiSocial.Framework

iOS6+ Social.Framework. Appcelerator apps are able to share content to Facebook and Twitter.
MIT License
259 stars 102 forks source link

Support for email subject #112

Open ghost opened 9 years ago

ghost commented 9 years ago

This is not a bug but a feature request. I'm not yet up to speed with pull requests... but would you mind adding the following code just before showing the ActivityViewController (DkNappSocialModule.m, line ~810). This will support a 'subject' parameter for email subject.

NSString *subject = [TiUtils stringValue:@"subject" properties:arguments def:nil];
if (subject) {
    [avc setValue:subject forKey:@"subject"];
}

Thanks a bunch for this module. Your active maintenance is greatly appreciated.