ios – Instagram更新到5.0.如何使用iPhone钩子以编程方式设置“InstagramCaption”

前端之家收集整理的这篇文章主要介绍了ios – Instagram更新到5.0.如何使用iPhone钩子以编程方式设置“InstagramCaption”前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
正如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”的新功能.当用户上传照片时,他们有两个选项“关注者”或“直接”.我认为这就是为什么“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.

我跟进要求一个时间框架或更多关于解决方法的信息,但没有听到任何话.

原文链接:https://www.f2er.com/iOS/335982.html

猜你在找的iOS相关文章