Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing Instagram Caption in iOS 9 app

I have done the below code to post an Image and a Text on Instagram

let fileURL = NSURL(fileURLWithPath: writePath)
self.documentController = UIDocumentInteractionController(URL: fileURL)
self.documentController.delegate = self
self.documentController.UTI = "com.instagram.exclusivegram"//"com.instagram.photo"
self.documentController.annotation =  NSDictionary(object: strTitle as String, forKey: "InstagramCaption")
self.documentController.presentOpenInMenuFromRect(self.view.frame, inView: self.view, animated: true)

It's working fine in iOS 8.3 but the Caption is missing in iOS 9. Why is that and how can I fix it?

like image 657
Sk.Azad Avatar asked Jun 23 '15 20:06

Sk.Azad


2 Answers

I had the same problem, and I have found out that it has been removed by Instagram on earlier August, 2015.

Instagram blog http://developers.instagram.com/post/125972775561/removing-pre-filled-captions-from-mobile-sharing

like image 172
Sunly Avatar answered Oct 14 '22 02:10

Sunly


Just found out that Instagram removed this function in its new version

https://www.apichangelog.com/changes/c6542ec9-6e02-4352-8db4-6481a8af4039

like image 30
Kong Hantrakool Avatar answered Oct 14 '22 01:10

Kong Hantrakool