iOS Setting minute interval


Example

You can change property minuteInterval to set the interval displayed by the minutes wheel. The default value is 1, the maximum value is 30.

let datePicker = UIDatePicker(frame: CGRect(x: 0, y: 0, width: 320, height: 200)  
datePicker.minuteInterval = 15