Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
NSStatusBarアイテムの位置またはフレームを取得するにはどうすればよいですか?
NSStatusBar
[statusBarItem _window]
window
ビューを設定せずに取得する文書化された方法はありません。また、ステータス バー アイテムにビューがある場合、タイトル/画像/すべてを自分で描画する必要があります。