Hi, I’m trying to load “HelloHTML5World” project into UIWebView in iOS.
Unfortunately the project doesn’t load.
1) I embeded the project into the app ~~> it didn’t work
2) I uploaded the project into the remote server~~> it didn’t work either
I’ve tried to load MoonWarriors and it (more or less) WORKED!
UIWebView *web = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, 1024, 768)];“http://www.cocos2d-x.org/html5-samples/samples/games/MoonWarriors/index.html”;
NSString* url =
NSURL* nsUrl = [NSURL URLWithString:url];
NSURLRequest* req = [NSURLRequest requestWithURL:nsUrl];
Anyone has an idea why hello world isn’t working?