【发布时间】:2013-01-31 14:58:25
【问题描述】:
我的 NSPanel 窗口始终位于所有其他应用程序窗口的顶部。这是我加载它的方式:
[NSApp beginSheet:[self window] modalForWindow:[rootDocument mainWindow] modalDelegate:self didEndSelector:nil contextInfo:nil];
我尝试使用 setLevel: 和不同的级别类型更改级别,或者使用 orderBack: 或 orderFront: 。但是这些方法似乎没有效果,因为窗口总是在顶部。
谢谢
【问题讨论】:
标签: objective-c cocoa cocoa-sheet