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

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.

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"

I guess not many people are clamoring for this answer. Alas, I too have the same problem. My Health exercise iOS app on apple desktop silicon goes dark with the screen saver. It is hard to do any health exercises when the screen saver kicks in. It works just fine on the iOS devices.

I guess not many people are clamoring for this answer.

Indeed.

I recommend that you file a bug about this. Please post your bug number, just for the record.

Share and Enjoy

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

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