我想制作如下所示的uilabel
“欢迎用户” 怎么可能? 我使用Objective c XCode 8.0
答案 0 :(得分:3)
试试这段代码:
function forPingTimer(){
//as long as the app runs or set the timeout here or wrap it in a promise
//Simply calling window.plugins.insomnia.keepAwake() to keep awake
}
//window.plugins.insomnia.allowSleepAgain() to sleep again until the timer after the timer is fulfilled