¿Es posible guardar archivos en la carpeta de recursos usando javascript en la aplicación de iPhone?

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.

preguntado el 30 de agosto de 11 a las 22:08

2 Respuestas

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.

Respondido 31 ago 11, 03:08

I wouldn't necessarily agree with it being a bad idea, but I agree with everything else.... - Sid

Not using pure Javascript, no, but check out frameworks like PhoneGap.

Respondido 31 ago 11, 03:08

I've downloaded a few apps that use PhoneGap and there's nothing great and fancy about them. Sure it's nice that your app will run on all major platforms, but they really don't compare to native apps. - Erik B

I can promise you that it is possible to create powerful applications with JavaScript but no one has done it yet on phonegap. - Michael West

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.