Our client just purchased a license and we are currently trying to replace UIWebView with RadaeePDF to just view the PDFs. We have some legacy logic that modifies the PDF (not with Radaee) while it is being displayed so we need to reload it. This worked fine with the UIWebView but we can get the reload part to work with Radaee.
The behavior we are experiencing is the PDF not being redrawn until 10-20 seconds or until the user starts scrolling the view. It seems that the thread is waiting for a mutex to be released, but not sure why is the mutex locked.
This is the code that we use to load (and reload) the PDF:
if I understood correctly, you have an opened pdf file and in another process you modified it and you want to reload it.
I tried with this sample method in RDPDFViewController and it seems to work correctly:
//get the current page
int page = [m_view vGetCurrentPage];
//close the pdf file and reset the m_doc and m_view
//reopen the pdf file
[self PDFOpen:samePdfPath :@""];
//go to current page
I have taken a look on this codes but it takes some time to reload like 10 - 20 seconds.
So I did some debugging and i found that after 10-20 seconds after refresh function that you gave, it called this below function