GithubHelp home page GithubHelp logo

View error about asvaluetrackingslider HOT 4 CLOSED

alskipp avatar alskipp commented on June 6, 2024
View error

from asvaluetrackingslider.

Comments (4)

alskipp avatar alskipp commented on June 6, 2024

Hmm, it's difficult to tell what's going on here. Is it used in a table view? If so you need to implement ASValueTrackingSliderDelegate and make sure that the slider is brought to the front of the view hierarchy before the popUpView displays.

from asvaluetrackingslider.

bizibizi avatar bizibizi commented on June 6, 2024

Its on VC.
hierarchy: scrollView, added view on cell, ASValueTrackingSlider

from asvaluetrackingslider.

alskipp avatar alskipp commented on June 6, 2024

There's very little information to go on, so it's difficult to determine what the problem is. From the screenshot you posted it looks like several things are amiss in your view layout. To bring the slider to the front of the view hierarchy before the popup view displays, do something like this:

@interface ViewController () <ASValueTrackingSliderDelegate>
 @property (weak, nonatomic) IBOutlet ASValueTrackingSlider *slider;
@end

@implementation ViewController
 - (void)awakeFromNib
 {
    self.slider.delegate = self;
 }
 - (void)sliderWillDisplayPopUpView:(ASValueTrackingSlider *)slider;
 {
    [slider.superview bringSubviewToFront:slider];
 }
@end

from asvaluetrackingslider.

bizibizi avatar bizibizi commented on June 6, 2024

no, it not works, I now use other lib, thanks for answer

from asvaluetrackingslider.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.