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
在不设置视图的情况下,没有记录的方法可以获取它。当状态栏项目有视图时,您必须自己绘制标题/图像/所有内容。