6 Replies
      Latest reply on Sep 12, 2019 5:43 AM by todd_d
      todd_d Level 1 Level 1 (0 points)

        I've a sandboxed app that I'd like to prevent screen sleep. I've seen this Q&A and used it's example code as well as this StackOverflow question.

         

        Neither seem to work. I'm building for OSX 10.13+ in Swift, but using a bridging-header for the code.

         

        Does anyone know if there is newer methods or if the support for this has been dropped in later OSX'