ios - How do I know if day is changed in iPhone date calender? -
as know, can identify if time changed in iphone settings using method
- (void)applicationsignificanttimechange:(uiapplication *)application
but want lines fire condition if day changed.
e.g today 10 mar 2014, later if physically changed day 11 mar iphone setting, wanted know same in above method.
anyone please help.
thanks in advance.
i suggest save off current date each time app starts , each time app becomes inactive or goes background.
then when applicationsignificanttimechange:
called, check current date saved date see if day has changed.
Comments
Post a Comment