Skip to content

Slider gesture method not working in iPhone 11 #2

@Razikhan111

Description

@Razikhan111
  • (void)sliderPanGestureRecognized:(UIGestureRecognizer *)recognizer {
    [self handleSliderGestureRecognizer:recognizer];

    switch (recognizer.state) {
    case UIGestureRecognizerStateBegan:
    if ([self.tapSliderDelegate respondsToSelector:@selector(tapSlider:panBeganWithValue:)]) {
    [self.tapSliderDelegate tapSlider:self panBeganWithValue:self.value];
    }
    break;
    case UIGestureRecognizerStateEnded:
    if ([self.tapSliderDelegate respondsToSelector:@selector(tapSlider:panEndedWithValue:)]) {
    [self.tapSliderDelegate tapSlider:self panEndedWithValue:self.value];
    }
    break;
    default:
    break;
    }
    }

This function in not calling in iPhone 11 when i slide slider.
But this is working fine in iPhone 6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions