Is it possible to save files to resource folder using javascript on iPhone app?
I am new to iPhone 开发者_如何学Pythonapp 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.
Not using pure Javascript, no, but check out frameworks like PhoneGap.
精彩评论