Use of NSView enterFullScreenMode withOptions causes warning about deprecated CPSSetForegroundOperationState
Use of NSView enterFullScreenMode withOptions causes warning about deprecated CPSSetForegroundOperationState
- Subject: Use of NSView enterFullScreenMode withOptions causes warning about deprecated CPSSetForegroundOperationState
- From: Shayne Wissler <email@hidden>
- Date: Thu, 18 Feb 2010 18:13:08 -0700
Hello,
In my application I have the following call:
[self enterFullScreenMode:[NSScreen mainScreen] withOptions:0];
This function is documented here, and does not appear to be deprecated:
http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ApplicationKit/Classes/NSView_Class/Reference/NSView.html#//apple_ref/occ/instm/NSView/enterFullScreenMode:withOptions:
And yet I am getting the following message right after making this call:
myApp[11220]: CPSSetForegroundOperationState(): This call is
deprecated and should not be called anymore.
I am using the latest released version of OSX, 10.5.8. Any tips would
be appreciated.
Thanks,
Shayne Wissler
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden