Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/cmake/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sencha touch 2 不在sencha工作_Sencha Touch 2_Resume - Fatal编程技术网

Sencha touch 2 不在sencha工作

Sencha touch 2 不在sencha工作,sencha-touch-2,resume,Sencha Touch 2,Resume,我正在运行一个应用程序,当我在IOS中构建并运行它时,它运行良好。我将本机应用程序首选项绑定到它。因此,当应用程序恢复时,我需要将数据从应用程序首选项加载到我的应用程序设置中 我试过密码: init: function(){ }, launch: function(){ loaduserpref(); } resume: function(){ console.log('resumed'); setuserpref(); } 但是简历从来没有被调用过 我该怎么办

我正在运行一个应用程序,当我在IOS中构建并运行它时,它运行良好。我将本机应用程序首选项绑定到它。因此,当应用程序恢复时,我需要将数据从应用程序首选项加载到我的应用程序设置中

我试过密码:

init: function(){
},
launch: function(){
loaduserpref();
}
resume: function(){
console.log('resumed');
setuserpref();
}
但是简历从来没有被调用过

我该怎么办