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

How to get the current image? #40

Open
kxvn-lx opened this issue Jun 3, 2020 · 0 comments
Open

How to get the current image? #40

kxvn-lx opened this issue Jun 3, 2020 · 0 comments

Comments

@kxvn-lx
Copy link

kxvn-lx commented Jun 3, 2020

I wanted to update a label that I placed inside a custom DTPhotoViewerController everytime user swipes to reveal new photo. I stored the data to the image's identifier. How can I access the current presented image?

I tried self.imageView.image but it returns only the first image every time.

Edit:
Yes I did try to follow the example but I wanted to hide/unhide this label (just like the close and save button from the example) along with other elements that I've placed.

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

1 participant