I was able to solve the problem
slider(value: $value)
... ... ...
// add guard
guard variable < sliderValueMin && variable > sliderValueMax else{
value = variable
}
only enter when the variable is within the range.
solve the problem.
Post
Replies
Boosts
Views
Activity
The problem has been solved.
Deleted the ”user name\Library\Developer\Xcode\ProductName...” folder.
Launch the project file again.