[Storyline] SliderIOS responds to UIControlEventTouchUpOutside
This commit is contained in:
parent
3c78aa6d25
commit
b56717ede9
|
@ -23,6 +23,7 @@ RCT_EXPORT_MODULE()
|
||||||
RCTSlider *slider = [[RCTSlider alloc] init];
|
RCTSlider *slider = [[RCTSlider alloc] init];
|
||||||
[slider addTarget:self action:@selector(sliderValueChanged:) forControlEvents:UIControlEventValueChanged];
|
[slider addTarget:self action:@selector(sliderValueChanged:) forControlEvents:UIControlEventValueChanged];
|
||||||
[slider addTarget:self action:@selector(sliderTouchEnd:) forControlEvents:UIControlEventTouchUpInside];
|
[slider addTarget:self action:@selector(sliderTouchEnd:) forControlEvents:UIControlEventTouchUpInside];
|
||||||
|
[slider addTarget:self action:@selector(sliderTouchEnd:) forControlEvents:UIControlEventTouchUpOutside];
|
||||||
return slider;
|
return slider;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue