I have a macOS app which works with the CNContacts framwork.
Everything is functioning as expected.
I have had a recent request to add functionality which would be best served by opening the 'Contacts' application to a specific contact.
I have in the past had this work:
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"addressbook://%@", currentContact.identifier]]];
What I observe in Catalina is that this works correctly ONLY IF 'Contact's is not running at the time this is executed.
If 'Contacts' IS running when this is executed then a spurious empty 'Contacts' window is opened on top of the current view.
Anyone have any useful thoughts?
Thanks,
Steve