iOS Swift - User Input and Forms
What will be the output when the slider's value is set to 0.5 and printed using this code?
let slider = UISlider() slider.minimumValue = 0 slider.maximumValue = 1 slider.value = 0.5 print(slider.value)
