title: ActivityViewController fails to share link on WhatsApp and Mail App?
body: <p>I used following code to share some url on WhatsApp and Mail. </p>
  
  <pre><code> @objc func onclickOfShareButton(sender:UIButton){
          let myWebsite = NSURL(string:"https://myDomain/path/\(String(zoomLocation.index))")
          let shareAll = [myWebsite ?? []] as [Any]
          activityViewController = UIActivityViewController(activityItems: shareAll, applicationActivities: nil)
          activityViewController.popoverPresentationController?.sourceView = self.view
          self.present(activityViewController, animated: true, completion: nil)
      }
  </code></pre>
  
  <p>When i share with WhatsApp i cannot select contacts to whom i need to share. Some cases i cannot click on next button once selected contacts.</p>
  
  <p>It is able to share sometime but if fails as well. Once app is closed and reopen it works 2-3 times. </p>
  
  <p>Any help will appreciated.</p>