覆盖Nspopover的Nswindow
是否可以覆盖Nspopover的nswindow?
您可以使用窗口
let window = mypopover.contentViewController.view.window
,但是在将Nspopover分类时似乎没有任何地方。
它在哪里?
背景: 需要使用: 覆盖Func CondainFramErect ...
Is it possible to override the NSWindow of an NSPopover?
You can get the window with
let window = mypopover.contentViewController.view.window
but it seems nowhere present when subclassing NSPopover.
Where is it?
Background:
Need to lift Screen constraints from the NSWindow Object using:override func constrainFrameRect ...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论