开发者

Showing my app in all spaces even if 'Every Space' is selected

I am developing an Mac Desktop application. I have the problem related to Spaces for my App. I have added to show my App in all spaces using the System Preference option Application Assignments-Space as 开发者_如何学C'Every Space'. It works fine until I restart my app. Once I restart my app, it is shown only in the space where it is launched even if the System Preferene option shows 'Every Space'.

Do I need to update application settings for this to work. What is the problem here. Could someone help me?

Regards, Deepa


[window setCollectionBehavior:NSWindowCollectionBehaviorCanJoinAllSpaces];

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜