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

  • Home
  • SEARCH
  • 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 8975823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:58:38+00:00 2026-06-15T18:58:38+00:00

how to import *.pdf all pdf from my iphone to my app like this

  • 0

how to import *.pdf all pdf from my iphone to my app like this add music file. http://developer.apple.com/library/ios/#samplecode/AddMusic/Introduction/Intro.html .Thanks in advance .New to iphone dev.Really appreciate any help.

NSString *bundlePath = [[NSBundle mainBundle] resourcePath];
    NSFileManager *mgr = [[NSFileManager alloc] init];

    NSArray *allFiles = [mgr contentsOfDirectoryAtPath:bundlePath   error:NULL];
    for (NSString *fileName in allFiles)
    {
        if ([[fileName pathExtension] isEqualToString:@"pdf"])
        {
            NSString *fullFilePath = [bundlePath stringByAppendingPathComponent:fileName];
            // fullFilePath now contains the path to your pdf file
         //   DoSomethingWithFile(fullFilePath);

            NSLog(@"file: %@",fullFilePath);

        }
    }

    NSURL *url = [[NSBundle mainBundle] URLForResource:@"" withExtension: @"pdf"];

    NSLog(@"File: %@",url);
  • 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-06-15T18:58:40+00:00Added an answer on June 15, 2026 at 6:58 pm

    You can’t just browse all the files on the phone from within your App.

    As I said to you in the comment on your other questions (which, by the way is almost exactly the same as this one, but in the other question you ask about csv files rather than pdf), you need to read up about the App Sandbox.

    In a nutshell, Apps can only see their own files and those that are written by the App. All apps have their own storage space and they can only see in that area.

    Having said that, it is possible to pass some files around between apps, but they have to be written to support that. There is no such concept as a global file system on iOS devices.

    READ THIS

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

Sidebar

Related Questions

Following this example, I can list all elements into a pdf file import pyPdf
import httplib2 from urllib import urlencode h = httplib2.Http() h.add_credentials('zackster@gmail.com', 'PassWord') data = dict(key=ThisIsMyApiKeyICopiedAndPastedIt)
My code is like this: from PyQt4 import QtGui doc = QtGui.QTextDocument() d_font =
This is code that I have added in my vendors/xtcpdf.php file: <?php App::import('Vendor','tcpdf/tcpdf'); class
I need to extract text (word by word) from a pdf file. import java.io.*;
This is an example that searches PDF files in the current directory. import os,
I import a PDF file with 2 pages using fpdi, it works. I need
The above question says it all. I know you can create a PDF from
I need to edit a specific page from a PDF file and I have
I'm attempting to open an existing pdf file and then add another page to

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.