I'd like to share a link + text to Linkedin with a UIActivityViewController but my code don't works :( I see Facebook and Twitter but not Linkedin
let url: NSURL = NSURL(string: "http://www.google.com")!
let text: String = "Test Linkedin"
let items: [AnyObject] = [url, text]
let activityViewController: UIActivityViewController = UIActivityViewController(activityItems: items, applicationActivities: nil)
activityViewController.setValue("Test", forKey: "subject")
self.presentViewController(activityViewController, animated: true, completion: nil)
If I set only the url I see Linkedin in my options. Where is the problem? I see that Safari Sharing works well.