I'd like to match the behaviour of the new Freeform app by offering an Export as PDF function accessible from the title menu.
I can't figure out how to get the actual view that displays the document menu to supply as the UIActivityViewController's popoverPresentationController source view.
The Freeform app shows the PDF document sharing popover directly under the little arrow to the right of the document title, so there must be a way.