Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-09-2009, 12:28 PM   #2 (permalink)
romeos28
Registered Member
 
Join Date: Dec 2008
Posts: 53
Default

I just noticed that i am getting warnings about .js files

warning: no rule to process file '$(PROJECT_DIR)/CanvasGraph.js' of type sourcecode.javascript for architecture i386

Maybe I need set some rule in Xcode for js files??
If yes, what should i do?


Quote:
Originally Posted by romeos28 View Post
I have a local .html, .js and images files in my bundle.

using this code
Code:
	NSBundle *bundle = [NSBundle mainBundle]; 
	NSString *path = [bundle bundlePath];
	NSString *fullPath = [NSBundle pathForResource:@"filename" ofType:@"html" inDirectory:path];
	[self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:fullPath]]];
I am loading html file into uiwebview. Local pictures are showing but .js files are not being loaded so i can't use functions inside them..

tried to insert <a href="file.js">show js file</a> into html. link leads to nothing.

Any help?

10x
romeos28 is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,871
Threads: 89,225
Posts: 380,695
Top Poster: BrianSlick (7,129)
Welcome to our newest member, Darmanikles
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:49 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.