View error
Closed this issue · 4 comments
Hello, something wrong here
http://s29.postimg.org/d4v90gp2f/i_OS_Simulator_Screen_shot_Apr_24_2014_3_22_01.png
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.
Its on VC.
hierarchy: scrollView, added view on cell, ASValueTrackingSlider
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
no, it not works, I now use other lib, thanks for answer