PDF Page Bookmark issue - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about iOS development and PDF
  • Page:
  • 1
  • 2

TOPIC: PDF Page Bookmark issue

PDF Page Bookmark issue 2 years 2 months ago #11139

  • apdeveloper
  • apdeveloper's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Hi,

This is with regard to the bookmark functionality.
I am encountering an error on accessing the bookmarked page from the Bookmark tab. On clicking the Bookmark entry, it throws the following alert exception - 'Error Document, Can't Open'

Request you to kindly guide me on the same.

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

PDF Page Bookmark issue 2 years 2 months ago #11140

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 516
  • Karma: 15
  • Thank you received: 56
Hi,
are you using the demo project?
can you share the pdf used to reproduce this issue?

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

PDF Page Bookmark issue 1 year 3 months ago #12646

  • manwon
  • manwon's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 36
  • Thank you received: 1
I found the issue how can trigger it. I quit the app after add bookmark and then rebuild the apps. It will show document cannot open.

But I add bookmark and quit app. I don't rebuild the apps. I click the app icon to open the app. The bookmark is work.

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

Last edit: by manwon.

PDF Page Bookmark issue 1 year 3 months ago #12650

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 516
  • Karma: 15
  • Thank you received: 56
Can you better explain?
"quit the app" and "rebuild the apps" are action that you do with Xcode? Or are you closing the app from device and then reopen it?
Can you reproduce this issue also with demo project?

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

PDF Page Bookmark issue 1 year 3 months ago #12651

  • manwon
  • manwon's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 36
  • Thank you received: 1
Sorry, my English is not good. I try to explain better.

Problem case:
First I install the app in Xcode and then add the bookmark. The bookmark is work. Then stop the Xcode and rebuild it in Xcode again. The bookmark will not work show the message Document cannot open.

Work case:
If I build the app in Xcode, also add the book mark. Then I also stop the Xcode. Only press the app icon. The bookmark is work

This issue also happen in demo project. I cannot reproduce it.

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

Last edit: by manwon.

PDF Page Bookmark issue 1 year 3 months ago #12653

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 516
  • Karma: 15
  • Thank you received: 56
Hi,

the demo bookmark implementation store a file with the bookmark info, and also the pdf path is stored in this file.
When you run the application on iOS simulator, the application path changes every time:

first run:
.../Library/Developer/CoreSimulator/Devices/19B59FBA-D11B-4400-99B2-17E38578ADB3/data/Containers/Data/Application/D41536FF-20F8-49D7-BA33-DB27658025C2/Documents/help.pdf

second run:
.../Library/Developer/CoreSimulator/Devices/19B59FBA-D11B-4400-99B2-17E38578ADB3/data/Containers/Data/Application/F5E4C498-927A-4AD2-AD4E-24DB16E6D76B/Documents/help.pdf

unfortunately in this case the pdf path is changed and the opening action returns an error message because is using the old pdf path.

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

  • Page:
  • 1
  • 2
Powered by Kunena Forum