It's fine when the app launches. The slider scales it properly. But as I'm tapping on the label itself or clicking on the UISegmentedControl, it's crashing because the compiler can't convert the value to int because either it's infinite or NaN. I am attaching a screenshot, please look into this and let me know what to do.
PS: I direct downloaded it from GitHub.
It's fine when the app launches. The slider scales it properly. But as I'm tapping on the label itself or clicking on the UISegmentedControl, it's crashing because the compiler can't convert the value to int because
either it's infinite or NaN
. I am attaching a screenshot, please look into this and let me know what to do. PS: I direct downloaded it from GitHub.