You are using a property of UISegmentedControl named selectedSegmentIndex, where you need to access the value property of UISlider.
use instead zoom.value
try
if ((int)(zoom.value + 0.5) == 0) { //do something...}
I've added 0.5 to round the value when type casting it to an int because zoom.value is of type float.