iOS error

Error: Don’t forget to anonymize any private data! `parse_results’: undefined method `map’ for nil:NilClass (NoMethodError) Solution: gem update xcodeproj  

Share Content With UIActivityViewController

Share text @IBAction func shareText(_ sender: UIButton) { let text = “Your text” let textShare = [ text ] let activityVC = UIActivityViewController(activityItems: textShare , applicationActivities: nil) activityVC.popoverPresentationController?.sourceView = self.view self.present(activityVC, animated: true, completion: nil) } Share image @IBAction func shareImage(_ sender: UIButton) { let image = UIImage(named: “Image”) let Read more…