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 并覆盖它的功能来解决它
- (BOOL)canBecomeKeyWindow { return YES;
}