Question

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?

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top