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 12-14-2009, 01:38 AM   #27 (permalink)
hardikapatel
Registered Member
 
Join Date: Dec 2009
Location: Mumbai
Posts: 45
Send a message via MSN to hardikapatel Send a message via Yahoo to hardikapatel Send a message via Skype™ to hardikapatel
Default

Quote:
Originally Posted by rmonson View Post
This works well but you have to remove the dot (".") from the file type or it doesn't work. so the "ofType" parameter should be as follows:

ofType:@"pdf"

Notice the dot is missing.

Hello
I m also trying the same thing.But I instead of pdf file I am using xls file.but I am not able to display the content of the file.Do I have to make those changes in the interface builder.I am using the following code.

NSString *myFilePath = [[NSBundle mainBundle]pathForResource:@"help" ofType:@"xls"];
NSURL *xlsUrl = [NSURL URLWithString:myFilePath];

and I am using xls file as a resource.
hardikapatel is offline   Reply With Quote
 

» Advertisements
» Online Users: 362
16 members and 346 guests
ADY, apatsufas, Dani77, Dattee, dcool, Desert Diva, HDshot, HemiMG, ilmman, leahov, mer10, michelle, nobre84, Raffaello, Robiwan
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,877
Threads: 89,222
Posts: 380,724
Top Poster: BrianSlick (7,129)
Welcome to our newest member, peterkessler45
Powered by vBadvanced CMPS v3.1.0

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