Date Picker set time interval swift

 Problem:

I want to display my datepicker with 5 minutes time interval.How can i achieve that?


Solution:

It was easy to set the time interval in datepicker as like below.

        self.datePicker.minuteInterval = 5


Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Saved Image in document directory and save path in coredata not able to fetch the image file iOS swift