呵原来这个东西是 UIActivityViewController
, 很强大, 已经不用接 SDK 分享了
let activityController = UIActivityViewController(activityItems: [image], applicationActivities: nil)
present(activityController, animated: true, completion: nil)
呵原来这个东西是 UIActivityViewController
, 很强大, 已经不用接 SDK 分享了
let activityController = UIActivityViewController(activityItems: [image], applicationActivities: nil)
present(activityController, animated: true, completion: nil)