Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about iOS development and PDF

TOPIC:

Annot render problem on device 10 years 7 months ago #7302

  • shivkant
  • shivkant's Avatar Topic Author
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 19
  • Thank you received: 0
Hi,

I set the break point and check the value of
[m_doc canSave] , returns 0 every time with any documents. Even with the help.pdf file in demo code.

Even I checked the code on different machine and did not get the expected result.

Please Log in or Create an account to join the conversation.

Annot render problem on device 10 years 7 months ago #7306

  • stronglee
  • stronglee's Avatar
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 93
  • Thank you received: 2
Hi,
The help.pdf is a readonly file ,it can not modified.

Did you use iTunes move file to PDFViewer Document?
set break point at RDFileTableController line 133,check if path like
/var/mobile/Containers/Data/Application/874CE321-6B3A-4122-B068-65CBB12574D8/Documents/

If in this document,check if your device has writable authority, write a file write demo ,
use
fopen( sFile, "rb+" );
then write something to check.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum