Pregunta

I have follow this guideline to embed a Cordova web application in my iOs app:

CDVViewController* viewController = [CDVViewController new];
viewController.wwwFolderName = [NSString stringWithFormat:
                                @"/data/volumes/%@",
                                self.book.code];
viewController.startPage = @"index.html";//@"gallery.html";
viewController.useSplashScreen = NO;
viewController.view.frame = self.view.frame;
[self.view addSubview:viewController.view];

all works good but when the CDVViewController load the html page (the test index.html proposed on the howto) the app show infinite input text box, with different strings

enter image description here

any idea?

¿Fue útil?

Solución

problem solved: In the Phonegap library every OS have own cordova-2.0.0.js, I was loading the Android version :)

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top