Busta117/SBPickerSelector

SBPickerSelectorDateTypeOnlyMonthAndYear does not select the provided date!

Closed this issue · 1 comments

2016-10-14 at 15 21 23

Selects the current month & year! It should be the provided one!

2016-10-14 at 15 21 13

fixed, you can check it in the version 1.2.0 already on cocoapods
to set a default date you have to use the defaultDate on SBPickerSelector
in your code:

picker.defaultDate = [NSDate dateWithTimeIntervalSinceNow:(60 * 60 * 24 * 100)];