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

More
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.
More
IP: 212.97.62.176 8 years 2 months ago #13939 by emanuele
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.
More
IP: 79.145.53.54 8 years 2 months ago #13949 by LightMan
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.
More
IP: 212.97.62.176 8 years 2 months ago #13952 by emanuele
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
Time to create page: 0.407 seconds
Powered by Kunena Forum