HTML5 App Screen Sleep/Timeout on iPad

前端 未结 3 1620
轮回少年
轮回少年 2020-12-20 14:58

We\'re currently developing an HTML 5 app for the iPad and looking for a method to prevent the screen from going to standby/sleep. I understand this is possible with a nativ

3条回答
  •  离开以前
    2020-12-20 15:35

    Adjusted settings to not let the iPad lock the screen. Fired up a page that uses websockets. In an simple interval I used the socket to send and recieve a message every 60s. Worked for a couple of hours, then I closed it.

    I also tried to switch tabs. Worked.

提交回复
热议问题