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.
我想在标题中添加一些控件,为此我将控件添加到视图,现在想在窗口的标题中添加视图。我是可可新手,所以不知道该怎么做?需要一些帮助。谢谢
我不知道如何添加。但是当我需要时,我更改了 NSWindow 的属性。在属性中单击纹理属性。通过这整个窗口看起来相同,包括标题。现在您可以在 NSWindow 上添加 NSView 或 NSBox 来进行设计。