关闭。这个问题需要
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/
欢迎光临 OGeek|极客世界-中国程序员成长平台 (https://ogeek.cn/) |
Powered by Discuz! X3.4 |