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

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

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

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 04-11-2011, 01:45 PM   #7 (permalink)
bodalal
Registered Member
 
Join Date: Sep 2008
Posts: 14
bodalal is on a distinguished road
Default

try this code :

Code:
// FileName = your file , Web = your directory >> could be nil

	[webView loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@“FileName” ofType:@"html" inDirectory:@“Web”]]]];
	[webView release];
good luck
bodalal is offline   Reply With Quote
 

» Advertisements
» Online Users: 391
19 members and 372 guests
aaronredmond844, apatsufas, asleylq98, blueorb, Clouds, DaveDee, erdinc27, eski, guusleijsten, jacob7khan, jeroenkeij, matador1978, MysticLine, networ, sacha1996, shweta128, sirenum, Warblr, zhaoningmei
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,597
Threads: 94,084
Posts: 402,781
Top Poster: BrianSlick (7,990)
Welcome to our newest member, aaronredmond844
Powered by vBadvanced CMPS v3.1.0

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