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

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift