Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. COHi shri , I write the same code what you write in above. But still i am not able to display pdf into UIwebview. If I add the any other pdf file into resource folder that works fine, only problem is when I want to display generated pdf file after base64 decoding to the UIwebview . It shows blank page I dont why it happens is that pdf is not saved properly or because of another thing that problem occurs. Please reply thanks in advance.
      singulars
    2. COOk. Three things 1)When you say you are able to save the file in Documents Directory, Did u actually check the documents directory(of simulator because its easier to check) and ensure that the file is stored correctly and you are able to open and read it??? 2)Can you post some code where you are saving it onto documents directory and using base64 decoding 3)Also, what's the content of url? The pdf name should match exactly with the one saved in documnets directory
      singulars
    3. COya I am able to check it in document directory. I also able to open and read it. And the path which is generated of URL is this file://localhost/Users/pareshkarnawat/Library/Application%20Support/iPhone%20Simulator/4.3.2/Applications/15FEA076-2600-4C74-8C44-137A6DA48EB7/Documents/mynewDocument.pdf . Also I am opening this pdf into uiwbview NSURL *url = [NSURL fileURLWithPath:finalUrlPath]; [pdfContent writeToURL:url atomically:YES]; NSURLRequest *urlRequest = [NSURLRequest requestWithURL:url]; [pdfView loadRequest:urlRequest];
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload