You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm changing a table view scroll whenever the delegate didSelectDate: is called.
Though I'm also selecting a date programatically sometimes, which results in didSelectDate: being called when I don't need it to be. Is it possible to identify when a user has selected a date & when I have set the selected date?
The text was updated successfully, but these errors were encountered:
Yes at the moment, when you actually set the new selectedDate, the delegate gets called.
I know it can be frustrating.
If you can come up with an elegant solution on how to handle that directly from the library let me know.
Otherwise it's gonna be some if/else in your code to ignore a "programatically set date".
One solution would be to nil-out the delegate juste before and set it back after. or the delegate having access to the programmatically set date, so it can ignore it and exit early.
I'm changing a table view scroll whenever the delegate
didSelectDate:
is called.Though I'm also selecting a date programatically sometimes, which results in
didSelectDate:
being called when I don't need it to be. Is it possible to identify when a user has selected a date & when I have set the selected date?The text was updated successfully, but these errors were encountered: