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

Keep the PopUpView always visible #30

Closed
matheusmaaz opened this issue Nov 25, 2014 · 3 comments
Closed

Keep the PopUpView always visible #30

matheusmaaz opened this issue Nov 25, 2014 · 3 comments

Comments

@matheusmaaz
Copy link

Hi,

First of all, thanks for such useful lib :)

I wonder if there's a way to always keep the slider's popUpView visible (by default, it gets hidden once you stop interacting with the slider).

Thanks,
Matheus

@alskipp
Copy link
Owner

alskipp commented Nov 25, 2014

Hi @matheusmaaz, thanks for using the control. Yes, it's possible to always show the popUpView. If you manually call showPopUpView, it will stay visible until you call hidePopUpView.

There is a separate branch (which really should be merged into master when I get around to it) https://github.com/alskipp/ASValueTrackingSlider/tree/popup_refactor - there are a few improvements in the animation code and also the ability to control if the popUpView animates when showing and hiding.

// present the popUpView manually, without touch event.
- (void)showPopUpViewAnimated:(BOOL)animated;
// the popUpView will not hide again until you call 'hidePopUpViewAnimated:'
- (void)hidePopUpViewAnimated:(BOOL)animated;

@matheusmaaz
Copy link
Author

Hi @alskipp, thanks for your answer. It works like a charm.

Thank you again,
Matheus

@alskipp
Copy link
Owner

alskipp commented Nov 25, 2014

Glad it helped,

All the best,
Al

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

2 participants