How do I upload a file using Objective C for iOS? I’m really stuck. I can upload an image using UIImagePickerController, but is there such a thing for .pdf/.doc files?
Many thanks in advance,
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
No, there isn’t, assuming you mean pdfs belonging to iBooks and docs belongs to Pages.
There is no centralised storage on iOS for such documents, and your application cannot access files that belong to other applications.
If the pdf & .docs are stored within your application, you can write your own picker. It might be worth explaining your use case a bit more, as there may be a way to achieve what you want.