简体   繁体   中英

Is it possible to save files to resource folder using javascript on iPhone app?

I am new to iPhone app development and I just got a idea of making a great and fancy app in an easy way, using Javascript and UIWebview. My question is that, is it possible to have local HTML/Javascript files inside the resource folder? If so, can I edit/delete/add files to resource folder with Javascript language? Because I'm planning to make a app with settings with on and off. Basically, what I'm planning to do is open a file and update the information with Javascript. So the next time the client open the same app (for example after restarting his iPhone) the settings will be the same as before the restart.

Making an app using javascript and a UIWebView is a bad idea. An app made that way will be neither great or fancy.

Not that it's relevant, but I don't think what you're asking for is possible, so you can't do it even if you'd want to. Learn iPhone programming. It's worth it.

不使用纯Javascript,不,但检查像PhoneGap这样的框架。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM