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 6811117
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:17:18+00:00 2026-05-26T20:17:18+00:00

I am trying to implement an IOS application. The need of my application is

  • 0

I am trying to implement an IOS application. The need of my application is to access the documents(pdf,photo etc) from DropBox Application(My iphone has DropBox Application ) .I am new in iphone development ,so i have no idea about access the document from DropBox.

If anybody know please help me . Thanks in advance.

  • 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-26T20:17:18+00:00Added an answer on May 26, 2026 at 8:17 pm

    First, you will need official Dropbox iOS SDK. Next, you will need an application key, which you can obtain from Dropbox website (choose MyApps). You will notice that the Dropbox iOS SDK comes with a bundled demo application, so have a look there. Also, good starting tutorial can be found here.
    To access a file, your code will look something like:

     NSString* consumerKey; //fill your key
     NSString* consumerSecret ; //fill your secret
     DBSession* session = [[DBSession alloc] initWithConsumerKey:consumerKey 
           consumerSecret:consumerSecret];
     session.delegate = self;
     [DBSession setSharedSession:session];
     [session release];
     if (![[DBSession sharedSession] isLinked])
     {
            DBLoginController* controller = [[DBLoginController new] autorelease];
            controller.delegate = self;
            [controller presentFromController:self];
     }
     DBRestClient *rc = [[DBRestClient alloc] initWithSession:[DBSession sharedSession]];
     self.restClient = rc;
     [rc release];
     self.restClient.delegate = self;
    
     NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
     NSString *documentsDirectory = [paths objectAtIndex:0];
     NSString *filePath = [documentsDirectory stringByAppendingPathComponent:@"SampleFile.txt"];
     [self.restClient loadFile:@"/example/SampleFile.txt" intoPath:filePath];
    

    Please note that iOS Dropbox SDK requires iOS 4.2 or greater.

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

Sidebar

Related Questions

I am new to ios development. I am trying to implement an ios application
I am new in ios development.Now , i am trying to implement an application
I'm trying to implement Push Notifications for my iOS 5 application by the guide
I'm relatively new to iOS development, and am trying to implement CocoaLumberjack logging. I
Trying to implement a UITableView of names similar to the built-in Contacts iPhone app
Am trying to implement a generic way for reading sections from a config file.
I am trying to implement a draggable MKAnnotationView in MonoTouch. In the iOS docs
I am developing an iOS application which resembles a musical instrument. I am trying
I am trying to implement the segmentUI found in the ios sdk in android.
I am trying to implement the alignment feature ContentVertical Alignment found in ios for

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.