关闭。这个问题需要
details or clarity .它目前不接受答案。
Best Answer-推荐答案 strong>
这样分享
let activityItem: [AnyObject] = [self.imageView.image as! AnyObject]
let avc = UIActivityViewController(activityItems: activityItem as [AnyObject], applicationActivities: nil)
self.presentViewController(avc, animated: true, completion: nil)
关于ios - 使用 UIActivityViewController 共享图像,我们在Stack Overflow上找到一个类似的问题:
https://stackoverflow.com/questions/45048777/
欢迎光临 OStack程序员社区-中国程序员成长平台 (https://ostack.cn/) |
Powered by Discuz! X3.4 |