0

So, this is the task I want to achieve. In my app, I have a text field which displays a list of all the apps and files that are present in my iOS device. One of them will be dropbox. When I tap on drop box, it should open the dropbox app and ask for user credentials. Once the user enters his credentials, it should save them and it shouldn't ask the next time he logs in again. Now, in that textbox that I mentioned earlier, I should get the list of the files that are there in my dropbox folder.

I'm new to iOS app development stuff so any help in the form of links, documentation will help alot. Please give me a brief idea on how to achieve this task.

2 Answers 2

2

What you are proposing violates the sandboxing principle of iOS. Apps don't know about anything outside their own documents folder, and do not have permission to read or write outside the area.

Files stored in Dropbox are accessible via the Dropbox API, so you will be able to achieve that part of your design, but most of the other apps on the device will not be visible or accessible to you.

2
  • There are many apps available which does this thing. Like in some apps they have a button "login with Facebook" and when I tap on it, it opens the facebook app that is installed in my iOS device. When I click on the directions in my browser, it opens MAP app in the device and have that address in the search field. Isn't this the same ? I thought it is the same thing. As I said I am new to iOS, I don't really know if this thing is possible or not. Jan 16, 2013 at 22:29
  • 1
    Those apps will all have published URL schemes that the phone will open, switching you to the app. My point is, you can't "display a list of all the apps and files present on the device".
    – jrturton
    Jan 17, 2013 at 6:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.