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];
精彩评论