Posts

Post not yet marked as solved
2 Replies
900 Views
We are trying to access the Contacts on macOS 10.14.4 Like many things that work flawlessly on iOS, much frustration on Mac!Yes, the App has been given access in the Privacy Preferences.Yes, Contacts are enabled in the Sandbox.Yes, all Apple Doc has been reviewed. Most samples are 6 years old!Here are the messages from the log:2019-08-11 12:26:20.858611-0600 JZMac[10866:26357377] [directory-services] checking if directory services are configured2019-08-11 12:26:20.860954-0600 JZMac[10866:26357377] [directory-services] directory services are not configured.Thanks for any help!John
Posted
by jzmobile.
Last updated
.
Post not yet marked as solved
0 Replies
394 Views
Hello,We are porting from iOS to macOS and need to be able to print PDF documents directly from the app. Below is the relevant method.Just don't see how to define the "contextInfo" as the PDFDocument?- (void)printDocumentWithSettings:(NSDictionary<NSPrintInfoAttributeKey, id> *)printSettings showPrintPanel:(BOOL)showPrintPanel delegate:(id)delegate didPrintSelector:(SEL)didPrintSelector contextInfo:(void *)contextInfo;Here is the pdf document to print: PDFDocument *pdfDoc = [[PDFDocument alloc] initWithURL:url];Sending our user to the AdobePDF viewer to search through the system folders is not a solution.Please help us connect the dots!Thanks,John
Posted
by jzmobile.
Last updated
.
Post not yet marked as solved
2 Replies
723 Views
Hello,We are in the process of porting our iOS apps to macOS. Our apps create emails with PDF attachments. Very easily accomplshed in iOS with a half-dozen or so lines of code.We are using the SBSendEmail Apple Sample Code to create an email to be sent by email app. Which we understand, like many of the mac samples, it is 8 years old, and no longer supported.Getting this error:[General] *** -[SBProxyByCode setSender:]: object has not been added to a container yet; selector not recognized [self = 0x600000c85bf0]Any help with getting this working or an alternate solution would be greatly appreciated!Thanks,John
Posted
by jzmobile.
Last updated
.