Get Notification of NSStatusItem frame change?

Viewed 1450

In an app that uses a NSStatusItem with a custom view like this:

enter image description here

... how can you get notifications when:

  1. The status bar gets hidden because of a full screen app
  2. The status item moves position because another item is added/removed/resized?

Both are necessary to move the custom view to the right position when the item changes places.

1 Answers
Related