Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In iOS 13.1 and Xcode 11 Slider does not work #39

Open
materligmann opened this issue Sep 25, 2019 · 11 comments
Open

In iOS 13.1 and Xcode 11 Slider does not work #39

materligmann opened this issue Sep 25, 2019 · 11 comments

Comments

@materligmann
Copy link

I just downloaded iOS 13.1 and build my app with the new Xcode 11. The Slider does not work at all. It is impossible to slide, and the nob does not bounce well, and when I do not do anything, the slider looks like this.

IMG_F916C6ABFB75-1

@michael-mansour
Copy link

I am experiencing the same issue ☹️

@sangriel
Copy link

may i ask you what your phone model is?? In my case only xr happend to occur the current issue any other devices just appeared to be a no problem

@michael-mansour
Copy link

@sangriel It’s happen on iPad Pro 10.5 as well as one Mac Catalyst (MacBook Pro 2019)

@Silvia4
Copy link

Silvia4 commented Oct 22, 2019

Also on iPhone X and iPhone 6s.

@sangriel
Copy link

`

Also on iPhone X and iPhone 6s.

thats weird when i tried in iphone6s and xs Max it worked just fine i'm now trying to solve this issue but i think theres gonna be trade off between smoothness and flatness

@sangriel
Copy link

i kindda figured it out. if you see Slider Class of the library theres gonna be a private func redrawFliterview inside this func theres an filter.threshold = 0.49 change this to 0.75 or maybe other value it solves the issue but look little silly when dragging. the blurish thing becomes little bit thinner

@RaheelCr7
Copy link

RaheelCr7 commented Oct 25, 2019

Agreed with @sangriel , Just add this line in Slider.swift file:
if #available(iOS 13.0, *) { }
else {
filter.threshold = 0.45
}
you dont need to add 0.75 to filter.threshold.

It will fix the issue.

Tested in iOS 13 and iOS 12

@cwestMobile
Copy link

@RaheelCr7 that didn't fix the issue in my current environment (iOS 13.1.3) & Xcode (11.1)

@chuiizeet
Copy link

Same issue

1 similar comment
@Yongle-Fu
Copy link

Same issue

@RaheelCr7
Copy link

RaheelCr7 commented Nov 21, 2019

You have to clean the build folder and build this project again so changes can take effects.

@yongLefu , @chuiizeet and @cwestMobile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants