objective c - Best way to know if application is inactive in cocoa mac OSX? -
so, building program stand on exhibition public usage, , got task make inactive state it. display random videos folder on screen, screensaver in application.
so best , proper way of checking if user inactive?
what thinking kind of global timer gets reset on every user input , if reaches lets 1 minute goes inactive mode. there better ways?
have @ this article covering use of iokit read users idle time iohid.
Comments
Post a Comment