开发者

NSWindow disappears and won't come back

I have a NSWindow and a View inside it. I close the window using window.close(also tried orderout). I then open the window by calling MakeKeyAndOrderFront on the window. When I do this, the window never shows up. Even if I go to menu and click on Window -> Bring all to front, I cannot see the window. But开发者_如何学JAVA in the dock the application is still running. In the controller associated with the View, I have added logging statements. All the statements are coming up indicating that the code is getting executed but the UI is not there.

EDIT -

The release when closed option is not checked. Also when I am closing the window, I am exiting full screen mode using ExitFullScreenModeWithOptions.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜