Risposta alle domande più comuni

Can I open a remote PDF without downloading it first on iOS?
Ultimo aggiornamento 14 giorni fa 61 views

Applies to: RadaeePDF Classic and Master SDK for iOS

Yes, you can open a remote PDF without downloading the entire file first by using the PDFHttpStream class instead of downloading the file to disk manually.

  1. Instantiate PDFHttpStream.
  2. Call the open: method, passing the remote URL string and a local path for the cache file.

The SDK handles the HTTP requests and caching internally, allowing the UI to display content as soon as the initial bytes are received.

Caveat: The cache file path you provide must be writable. Using NSTemporaryDirectory() is the standard approach, but ensure the file name is unique if you are opening multiple documents simultaneously to avoid conflicts.

Caricamento in corso ...