[Storyline] SliderIOS responds to UIControlEventTouchUpOutside

This commit is contained in:
Bill Fisher 2015-07-17 12:58:39 -07:00
parent 3c78aa6d25
commit b56717ede9
1 changed files with 1 additions and 0 deletions

View File

@ -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;
} }