iPad App - stop iPad sleeping while playing

Beantwortet

Kommentare

3 Kommentare

  • Offizieller Kommentar
    Tony W.
    Product Support Manager

    Thanks for the feedback Chris. Unfortunately, this is not a function of Apps but of the OS of your phone or tablet. Apple outright prevents this functionality in their Apps. You will have to change your screensaver options in the Settings menu of your device. 

  • Chris Tobias

    Thanks, Tony. I guess I will try turning off Auto-lock in the iOS settings then.
    Although, I do have a few other apps that manage this on the iPad.
    It seems there is an approach that can be used, but it may have other implications.

    You can stop the iOS screen sleeping by using the isIdleTimerDisabled property of your application. When set to true, this means the screen will never dim or go to sleep while your app is running, so be careful – you don't want to waste your user's battery life!

    Here's an example:

    UIApplication.shared.isIdleTimerDisabled = true
    0
  • Wanda

    Hi.  That may be the case for iOS, but it works on Android.  For example, my RadioParadise app (the stand-alone app, not the one inside BluOS) has just that option--it keeps the screen on as long as music is playing.  Very useful for the rowing machine (or any other situation where I can't reach the phone screen).  It would be great to be able to use an Android tablet as a "what's playing now" screen for my Bluesound players.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.