I am using the following code on Swift 4.2
to sharing the video and text (local embedded video on App) , but in the UIActivityViewController
shows multiple apps like in the below screen shot.
let videoURL = URL(fileURLWithPath: bundlePath)
var activityItems = [Any]()
activityItems.append(videoURL as AnyObject)
activityItems.append("Hi ! I’ve just an awesome deal for you. Check the video")
let activityViewController = UIActivityViewController(activityItems: activityItems, applicationActivities: nil)
self.present(activityViewController, animated: true, completion: nil)
can anyone share the info regarding , how to solve this problem ?
Comments
Post a Comment