Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

Shows Multiple Apps when Share local video on WhatsApp

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)

enter image description here

can anyone share the info regarding , how to solve this problem ?

Comments