正如Instagram官方文档所说
To include a pre-filled caption with your photo, you can set the annotation property on the document interaction request to an NSDictionary containing an NSString under the key "InstagramCaption". Note: this feature will be available on Instagram 2.1 and later.
对于 Instagram 4.x 或更低版本,它运行良好。但对于 Instagram 5.0,Instagram 团队添加了一个名为“Direct”的新功能。当用户上传照片时,他们有两个选项“Followers”或“DIRECT”。我认为这就是“InstagramCaption”不起作用的原因。有没有一种新的方式来以编程方式添加标题?
非常感谢!
self.dic.annotation = @{@"InstagramCaption" : captionString};
self.dic.delegate = self;
[self.dic presentOpenInMenuFromRect:shareButton.frame inView:self.view animated:YES];
它现在不起作用。
最佳答案
迄今为止我得到的最佳回应:
Thanks for your report and interest in the Instagram platform. We are aware of this issue and it will be fixed in the next update of the iOS app.
我随后询问了时间表或有关解决方法的更多信息,但没有听到任何消息。
关于ios - Instagram 更新至 5.0.如何使用 iPhone Hook 以编程方式设置 "InstagramCaption",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20552327/