Posts

Post not yet marked as solved
5 Replies
Hmm, ok! Then maybe it's not a UIActivityViewController that is being used? I realise this image better shows what I want to achieve. The "Options" button (marked in the image with the Swedish translation "Alternativ") is also present when sharing photos, as I mentioned earlier. Just thought that there would be some built-in functionality to include it from the UIAcitvityViewController.Here's my current code for the UIActivityViewController:// Init Activity view controller. let activity = UIActivityViewController( activityItems: [path, pdfData], applicationActivities: nil ) //Show the Activity view controller. self.progressHUD.hide() activity.popoverPresentationController?.barButtonItem = sender activity.excludedActivityTypes = [.addToReadingList, .assignToContact, .copyToPasteboard, .markupAsPDF, .message, .openInIBooks, .postToFlickr, .postToTencentWeibo, .postToTwitter, .postToFacebook, .postToVimeo, .postToWeibo, .print, .saveToCameraRoll] self.present(activity, animated: true, completion: nil)
Post not yet marked as solved
5 Replies
Maybe this image better illustrates what I want to achieve, from what I guess is the UIActivityViewController, or am I wrong?
Post not yet marked as solved
5 Replies
Thanks for the idea! I tried, but unfortunately it still fails. 😕