开发者

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

开发者 https://www.devze.com 2023-04-01 21:40 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号