我添加UISlider
以编程方式查看如下:
UISlider * sideslider = [[UISlider alloc] initWithFrame:CGRectMake(canvasWidth +((canvasWidth) - (recwidth) / 4) /b2, recheight - 70, (recwidth) / 4, 20)];
[sideslider setMaximumValue:solution0->Plan->HDivisions.count];
// sideslider
int slidervalue = sideslider.value;
[self addSubview:sideslider];
我需要添加这个事件处理程序
-(IBAction)updateside:(UISlider *)sender;
创建后到这个滑块?