Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/98.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
Html ios7的本地存储问题_Html_Ios_Jquery Mobile_Cordova - Fatal编程技术网

Html ios7的本地存储问题

Html ios7的本地存储问题,html,ios,jquery-mobile,cordova,Html,Ios,Jquery Mobile,Cordova,我在应用程序启动时立即从阵列加载数据。出于某种原因,当我在模拟器中测试本地存储行时,它通常会禁用所有javascript。在我定义了数组本身之后,就有了这一行 uniqueIDarray = JSON.parse(localStorage.uniqueIDarray); uniqueIDarray = JSON.parse(localStorage.getItem('uniqueIDarray'));

我在应用程序启动时立即从阵列加载数据。出于某种原因,当我在模拟器中测试本地存储行时,它通常会禁用所有javascript。在我定义了数组本身之后,就有了这一行

    uniqueIDarray = JSON.parse(localStorage.uniqueIDarray);
uniqueIDarray = JSON.parse(localStorage.getItem('uniqueIDarray'));