Is there a way to get UIActivity from and an existing UIActivityType?
So I can construct UIActivityViewController like:
let activityViewController = UIActivityViewController(activityItems: [],
applicationActivities: [MyActivity(),"TypeUIActivity"])
present(activityViewController, animated: true, completion: {})
Reading through the Apple documentation about this and I read:
That means you’ll need to create a custom implementation of UIActivity and override its functionality to create the method you wish to use. Like creating a custom implementation of a CollectionViewCell.