Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toolbar missing #25

Open
saran-metron opened this issue May 27, 2016 · 14 comments
Open

Toolbar missing #25

saran-metron opened this issue May 27, 2016 · 14 comments

Comments

@saran-metron
Copy link

hi,

i have enable all the toolbars but i am not getting any of them.can you please help me..what i am doing wrong.
    self.viewer.enableBookmarks = true
    self.viewer.enableOpening = true
    self.viewer.enablePreview = true
    self.viewer.enablePrinting =  true
    self.viewer.enableSharing = true
    self.viewer.standalone = false

with regards
Saran
screenshot

@dougdss
Copy link

dougdss commented Jun 17, 2016

I'm having the same problem, do we have to add the vfr/Reader classes for this to work?

@EnesKaraosman
Copy link

Still having this problem, what do we have wrong ??

@dougdss
Copy link

dougdss commented Aug 15, 2016

Use the vfr/Reader - https://github.com/vfr/Reader.
Worked very good, Only need to copy the classes to the project and import.

@EnesKaraosman
Copy link

Works the same way then right ?

15 Ağustos 2016 Pazartesi tarihinde, Douglas Santos <
[email protected]> yazdı:

Use the vfr/Reader - https://github.com/vfr/Reader.
Worked very good, Only need to copy the classes to the project and import.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#25 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AP5BN-I4-cCpP8uo0ZIFYeR7NBEubcuFks5qgHc_gaJpZM4Ioh5Z
.

@dougdss
Copy link

dougdss commented Aug 15, 2016

Yes. but the toolbar works fine with these classes.
You do not need to use cocoa pods, only download the project and copy the classes listed in the repository documentation.

@EnesKaraosman
Copy link

Do I have to use it with bridging with objective c.., or just like swift?

15 Ağustos 2016 Pazartesi tarihinde, Douglas Santos <
[email protected]> yazdı:

Use the vfr/Reader - https://github.com/vfr/Reader.
Worked very good, Only need to copy the classes to the project and import.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#25 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AP5BN-I4-cCpP8uo0ZIFYeR7NBEubcuFks5qgHc_gaJpZM4Ioh5Z
.

@dougdss
Copy link

dougdss commented Aug 15, 2016

if your project is in 'swift', you will need to use the bridging-header.

@EnesKaraosman
Copy link

Just grab the toolbar image to your Assets, then the toolbars should come..

@dougdss
Copy link

dougdss commented Sep 1, 2016

Yes. I've forgot to mention the images part.

@saran-metron
Copy link
Author

some times the toolbar images may be missed.. i used cocoapods ..it is
working fine..if you are using pod please update pod and check

with regards
Saran N.V

On Fri, Sep 2, 2016 at 2:56 AM, Douglas Santos [email protected]
wrote:

Yes. I've forgot to mention the images part.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#25 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQqc-Gd4QYcM91oCT5EsF1BI4SbJ6EPaks5ql0LvgaJpZM4Ioh5Z
.

N.V.Saran
Software Developer,
Neemtec Solutions,
8220434718.

@wdcurry
Copy link

wdcurry commented Jul 18, 2017

The current repo, in swift, features enables practices that simply don't seem to work. At all. Frustrating to waste time on something so simple .. but the actual repo seems better than the others i have tried, except for this issue.

{edit: the issue seems to be that i am in a swift project and the repo is obj-c, and this may be why the value is not setting as "false" may be getting interpreted as YES.}

It might even be odder: i manually set the default in the repo to NO and yet it is still YES when running. I currently have no clue as i scanned the appropriate repo .m files that might be involved and see nowhere the YES is coming from.

@wdcurry
Copy link

wdcurry commented Jul 18, 2017

ps: if somebody with enough SO cred (1500) could create a tag for M13PDFKit, that would be great!

@wdcurry
Copy link

wdcurry commented Jul 19, 2017

The bug goes deeper. It looks like actually the settings are working BUT the toolbar is not refreshing until the button that should be gone is tapped, then it quickly animates away.

If i can't solve this, then surely the repo gets turfed as it cannot be presented in an app like that. Likely only a Swift thing. Sigh.

@wdcurry
Copy link

wdcurry commented Jul 19, 2017

Moving resetNavigationToolbar() out to the interface file (.h), then calling self.resetNavigationToolbar() after setting the enable's setting you require will force the reset of the navigationToolbar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants