How to disable screensaver when I running my iPad app onto m1 macbook

How to disable the screensaver when I running my iPad app onto m1 macbook programmatically?

Especially in video playing case

I mean that how to disable screen in my ios code or project

Thanks

Replies

Adjust your Mac screensaver as normal:

Mac > System Preferences... > Desktop & Screen Saver > Screen Saver

.. then turn off the screen saver, or adjust it's settings.

  • Sorry, I mean that how to disable screen in my ios code

Add a Comment

I mean that how to disable screen in my ios code

On native iOS you disable automatic screen lock using idleTimerDisabled. Is that not working on the Mac?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"