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

store cgpoint in userdefaults iOS swift