- Posts: 3
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about iOS development and PDF
Launch search, highlighting and other functions programatically
IP: 79.146.23.70
8 years 2 months ago #13934
by LightMan
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.
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.
IP: 212.97.62.176
8 years 2 months ago #13939
by emanuele
Replied by emanuele on topic Launch search, highlighting and other functions programatically
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.
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.
IP: 79.145.53.54
8 years 2 months ago #13949
by LightMan
Replied by LightMan on topic Launch search, highlighting and other functions programatically
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.
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.
IP: 212.97.62.176
8 years 2 months ago #13952
by emanuele
Replied by emanuele on topic Launch search, highlighting and other functions programatically
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
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
Time to create page: 0.407 seconds