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 > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 03-14-2010, 02:01 PM   #1 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 6
Default iphone UIWebview and RTFD document

Hi Guys,

I'm trying to use the UIWebview to preview an RTFD document but cant seem to get it working.

Basically, i create the rtfd document using TextEdit, then compress it to a zip file using the finder and add it to my project.

I use the loadRequest method for UIWebview to try and load up the document:

Code:
 NSString *path = [[NSBundle mainBundle] pathForResource:@"RTFDDoc" ofType:@"rtfd"];
When i do this however, i just see a blank file. The app doesnt crash, which hints that maybe i'm doing a part of this correctly but maybe the rtfd or the zip compression isnt working correctly?

Please note that i use this method to load regular RTF and HTML files and i have no problems with these.

anyone have any ideas on whats going on?
kingshaka_1977 is offline   Reply With Quote
Reply

Bookmarks

Tags
load document, rtfd, uiwebview

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Stats
Members: 158,884
Threads: 89,229
Posts: 380,763
Top Poster: BrianSlick (7,129)
Welcome to our newest member, karlam963
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:15 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0