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

horzontal slider #17

Closed
kavin06 opened this issue Mar 11, 2019 · 3 comments
Closed

horzontal slider #17

kavin06 opened this issue Mar 11, 2019 · 3 comments

Comments

@kavin06
Copy link

kavin06 commented Mar 11, 2019

*** Assertion failure in -[NSLayoutConstraint _setMultiplier:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/Foundation/Foundation-1562/Foundation/Layout.subproj/NSLayoutConstraint.m:196
2019-03-11 12:39:32.198830+0530 DCON[3784:1325822] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Multiplier is not finite! That's illegal. multiplier:inf'

Application crashed. ios 12 horizontal and vertical slider is not working any help

@yonat
Copy link
Owner

yonat commented Mar 11, 2019

Hi @kavin06,
I'm not able to reproduce this error. Can you write the minimal code to reproduce it?
(I.e., create a new blank project, add MultiSlider, and write code that produces this error -- so I can check it.)

Thanks!

@kavin06
Copy link
Author

kavin06 commented Mar 12, 2019

Hi @yonat ,
I used lower version so I faced that issue, kindly ignore this issue. and onemore I need to set fixed distance between two Thumbs?
thanks in advance

@yonat
Copy link
Owner

yonat commented Mar 12, 2019

slider.snapStepSize = 0.5 // or whatever value you need

@yonat yonat closed this as completed Mar 12, 2019
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

2 participants