reports
reports copied to clipboard
FB9860228: NSWorkspace.shared.urlsForApplications(toOpen:) needs a role parameter to be able to replace the deprecated LSCopyApplicationURLsForURL function
- Date: 2022-01-27
- Resolution: Open
- Area: AppKit
- OS: macOS 12.2
- Type: Incorrect/Unexpected Behavior
Description
For example, I want to make a picker that only shows apps that are “editor” for a UTType. NSWorkspace.shared.urlsForApplications(toOpen:) cannot currently do this. Something similar to LSRolesMask.
Agree. Years passed and Apple didn't make any improvement.