我将这两个网点添加到我的AppController.j
:
@outlet CPWindow theWindow;
@outlet CPWindow thePanel;
theWindow
填满整个浏览器窗口 ( setFullPlatformWindow:YES
)。
现在我正在使用一个CPToolbarItem
(在CPToolbar
我添加到的内部theWindow
)在单击时执行此方法:
- (IBAction)showPanel:(id)aSender {
// ...
[CPApp runModalForWindow:thePanel];
}
我在 Interface Builder 中创建了所有这些 UI 元素。
当我关闭时thePanel
,theWindow
似乎卡住了 - 无法单击按钮或theWindow
以任何其他方式与元素交互。
这里出了什么问题?