Posts

Post not yet marked as solved
0 Replies
303 Views
Hi,I want to create a PDF where the pages have different sizes. If needed I could set a common mediaBox and just specific bleed and crop boxes for each page. Here is how I create the context and a pageif let context = CGContext(url as CFURL, mediaBox: nil, nil) { var pageDescription: [CFString:Any] = [:] pageDescription[kCGPDFContextMediaBox] = mediaBox pageDescription[kCGPDFContextBleedBox] = mediaBox pageDescription[kCGPDFContextCropBox] = cropBox context.beginPDFPage(pageDescription as CFDictionary)Sadly it looks like nothing is stored in the PDF.I am able to add these informations if I load the document into a PDFDocument after printing, but there must be a direct way, right?All the best Christoph
Posted Last updated
.
Post not yet marked as solved
0 Replies
432 Views
Hi Guys,I am a bit stumped. I have made a Photos project extension that created an image or video, but I cannot find any way to give (other than show) the user this Data1. NSSavePanel does not work in an extension2. Sharing Services come back with 0 available services in an extesion3. PHAssetChangeRequest only exists on iOSI really hope I am overlooking something. How can I create and save or share a result of a photos project?All the best Christoph
Posted Last updated
.
Post not yet marked as solved
1 Replies
651 Views
Hi,I want to add an Photos Extension to an existing app but don't want to double my resources.Is there any way not to have every resource twice once in my .app bundle and once in my .appex bundle?I apprechiate any trick (so far none have worked.All the best Christoph
Posted Last updated
.