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

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

Draw This
($0.99)

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

Pic Frame Dynamo: Photo Editing
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-19-2008, 03:26 PM   #1 (permalink)
aahmed753
I can't think without pen
 
Join Date: Jul 2008
Location: New York
Posts: 72
aahmed753 is on a distinguished road
Default How can I access local html file using UIWebView

Hi, I just watched the UIWebView tutorial, which was really great! But I want to load html file from the local project folder, not from internet. How can I do that? I understand I only need to change the following line:
Code:
[webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.apple.com"]]];
I am assuming there about fileURLWithPath class function of the NSURL, but I don't know the absolute path of the project folder and how to reference a file from it.

Thanks for help!!
aahmed753 is offline   Reply With Quote
 

» Advertisements
» Online Users: 621
10 members and 611 guests
armmzz, christina2c, djbrooks111, Domele, Dump3, iamwayne5, jerrasen, kanishadg35, networ, Techgirl-52
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 174,552
Threads: 93,729
Posts: 401,269
Top Poster: BrianSlick (7,954)
Welcome to our newest member, christina2c
Powered by vBadvanced CMPS v3.1.0

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