My app writes huge images (billions of pixels).
The image is too large to read as a UIImage or as Data.
Typically, when I share images with an activity controller, I do this:
var data: Data
data = ...
activityViewController = UIActivityViewController(activityItems: [data], applicationActivities: [purchaseCanvasPrintActivity])
Is it possible to pass a URL or something that points to the stored file than having to be allocated in a Data object or accomplish this with a custom UIActivity?