Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6612545
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T20:06:41+00:00 2026-05-25T20:06:41+00:00

I got a question, which is, what if I can download a ebook file,

  • 0

I got a question, which is, what if I can download a ebook file, eg .epub or PDF, then I list this file on a tableview, now I select one of the books.

Can I open via iBook?

Or I need to implement a reader to open the file?

Also got another question , I download a pdf file in my folder

The path I log it out , looks right

Here is the code:

 NSString *docPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES)objectAtIndex:0];
 NSString *ePubSubFolder = [docPath stringByAppendingPathComponent:@"Books"];
 NSString *pdfPath = [ePubSubFolder stringByAppendingPathComponent:[NSString stringWithFormat:@"%@",self.pdfFileName]];    
 CFURLRef pdfURL = CFURLCreateWithFileSystemPath (NULL,(CFStringRef)pdfPath, kCFURLPOSIXPathStyle, FALSE);
 NSLog(@"PDF URL: %@", pdfURL);
 pdf = CGPDFDocumentCreateWithURL((CFURLRef)pdfURL);
 CFRelease(pdfURL);

The log result is

../iPhone%20Simulator/4.3.2/Applications/06BA5929-3531-4AC3-B524-6CC74DC7E2C9/Documents/Books/Repeat%20After%20Me%20User's%20Guide.pdf

Do I did something wrong ?I won’t show any thing on my view.

Many thanks for all reply or answer 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T20:06:41+00:00Added an answer on May 25, 2026 at 8:06 pm

    in IOS when you open a pdf using any application you get an option on the top right corner click on it and you can see options like open in ibooks etc.. I have tried this with many apps.

    this is what I do to use some pdf on my ios devices.. load the file into a dropbox folder on the comp open it in the device in dropbox and then move it over to ibooks..

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

got a very simple question which I can't seem to find any answer for.
Today I got this question for which I think I answered very bad. I
This question is based on my previous question which I got a working answer
Basically, I have the same question as this one , which unfortunately never got
I've got a question relating databases which i can't find the anwser for myself.
I've got a list of types which can be send over the network, take
This is a expansion on to a previous question that got answered yesterday, which
I've got a Question. I have a ListActivity in which i can't access over
Got this interview question which i'm wondering about: A software company designed an app
I Have wrote a question which got a right answer here about emysql encoding.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.