> but the header for that function says it can be replaced by > IOPMAssertionCreateWithName(). I haven’t looked at that in detail or used it > myself, but one of the defines for that function is > ‘kIOPMAssertionTypePreventUserIdleDisplaySleep’, which appears to do the same > thing as the old
Would that also prevent the compute from going to sleep? Also, I do not want to prevent the display from going to sleep. I want to prevent the screen saver to kick in. Best regards, Gabriel
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com