• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UpdateSystemActivity(OverallAct) to prevent sleep in Lion...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UpdateSystemActivity(OverallAct) to prevent sleep in Lion...


  • Subject: Re: UpdateSystemActivity(OverallAct) to prevent sleep in Lion...
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Tue, 30 Aug 2011 09:51:04 +0200

Le 29 août 2011 à 22:29, R a écrit :

> I'm using UpdateSystemActivity(OverallAct) successfully to prevent
> sleep in Snow Leopard.  Can anyone confirm that this works with Lion?
>
> thanks

Probably, but you should use the IOPMAssertion API introduced in 10.5 instead.

See IOPMAssertionCreateWithName reference for details.

Note: On 10.5, this API does not prevent the screen saver to start, so if you need to support this feature on Leopard, you may have to continue to use UpdateSystemActivity on this OS version.

-- Jean-Daniel




_______________________________________________

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

References: 
 >UpdateSystemActivity(OverallAct) to prevent sleep in Lion... (From: R <email@hidden>)

  • Prev by Date: Re: UIBarButtonItem exclusive touch
  • Next by Date: Possible causes of "attempted layout while textStorage is editing"?
  • Previous by thread: UpdateSystemActivity(OverallAct) to prevent sleep in Lion...
  • Next by thread: NSWindowController
  • Index(es):
    • Date
    • Thread