0

Our team is now working on a macOS app. When Users use a specific service, the main process will start another process, and at the same time, generate a new dock icon.

Problem: if this new dock icon being pinned (kept in the Dock) by users, this icon cannot be released, which will leave a useless icon in the Dock after this service process quits.

Is there any way to keep the Dock icon from being pinned by users with some programming method?

1
  • Why does it have a dock icon in the first place?
    – mmmmmm
    Commented Aug 10, 2021 at 10:14

1 Answer 1

3

No, there's no option for app developers to keep their icon from being pinned by the user.

The app developer should instead ensure that the secondary process does not come with its own Dock icon.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .