Launch search, highlighting and other functions programatically - 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

TOPIC: Launch search, highlighting and other functions programatically

Launch search, highlighting and other functions programatically 5 months 3 weeks ago #13934

  • LightMan
  • LightMan's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Karma: 1
  • Thank you received: 0
Hi,

We would like to have a like a toolbar at the bottom instead of the buttons in the navigation bar. Could it be possible to have our custom buttons and start the same actions we do from the navigation bar, like search, write annotations, highlight text, search text and add bookmarks ?

Regards, David.

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

Launch search, highlighting and other functions programatically 5 months 3 weeks ago #13939

  • emanuele
  • emanuele's Avatar
  • Online
  • Moderator
  • Moderator
  • Posts: 526
  • Karma: 20
  • Thank you received: 60
Hi,

in RDPDFViewController you can find the toolbar implementation (createToolbarItems method).
The current implementation add the toolbar as subview on the navigation bar.
You can change the toolbar position editing the toolbar frame and adding it as RDPDFViewController subview.
Be sure to change also the pdf view rect (m_view var initialized in PDFOpen method, that uses the whole view size) to not cover the toolbar.
The following user(s) said Thank You: LightMan

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

Launch search, highlighting and other functions programatically 5 months 2 weeks ago #13949

  • LightMan
  • LightMan's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Karma: 1
  • Thank you received: 0
Thanks for your answer.

I cannot find RDPDFViewController in the swift version. Although RDPDFViewController is in the Obj-C version in the RadaeeLib project. I could change code there but that projects only generates a library file: libRadaeeLib.a file. Should we use that fie instead of libRDPDFLibSDK.a ? In summary, how can I integrate the library with my changes?

Regards, David.

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

Launch search, highlighting and other functions programatically 5 months 2 weeks ago #13952

  • emanuele
  • emanuele's Avatar
  • Online
  • Moderator
  • Moderator
  • Posts: 526
  • Karma: 20
  • Thank you received: 60
Hi,

you can modify the Obj-C project and generate libRDPDFLibSDK.a with the makeFile, then you can replace it in Swift project and use your customized reader

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

  • Page:
  • 1
Powered by Kunena Forum