![](/img/trans.png)
[英]How to share an image with caption on Instagram and slack using IOS swift?
[英]iOS Swift - Share on Instagram with captions
我可以使用UIDocumentInteractionController
在Instagram上成功共享图像,但InstagramCaption
键不起作用。 这是我的代码:
self.controller = UIDocumentInteractionController()
// controller.delegate = self
self.controller.URL = fileUri
// HERE, the caption won't appear.
self.controller.annotation = NSDictionary(objectsAndKeys: "my caption", "InstagramCaption")
self.controller.UTI = "com.instagram.exclusivegram"
self.controller.presentOpenInMenuFromRect(CGRectZero, inView: self.view, animated: true)
我究竟做错了什么?
此功能已从iPhone挂钩中删除
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.