Eamorr
Eamorr

Reputation: 10022

iOS upload .pdf file

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,

Upvotes: 0

Views: 2525

Answers (2)

user523234
user523234

Reputation: 14834

You can integrate one of the open-source http server like this one to your app.

Upvotes: -1

JosephH
JosephH

Reputation: 37505

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.

Upvotes: 2

Related Questions