viezel / TiSocial.Framework

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

Social.activityView general callback? #123

Open peteclark3 opened 9 years ago

peteclark3 commented 9 years ago

Hi there, sorry for being dumb, but is there a general callback function I can pass to Social.activityView that can fire once the user is done sharing with the selected option (facebook, mail, etc)?

kinabalu commented 9 years ago

Yes.

Social.addEventListener("complete", function(e){
    console.log("complete: " + e.success);
    console.log(e);
});