-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change current date on sunset time #157
Comments
U can use UILocalNotification, and get notified in AppDelegate UILocalNotification *notification = [[UILocalNotification alloc] init];
notification.fireDate = yourSunsetTime;
notification.repeatInterval = NSCalendarUnitDay;
[[UIApplication sharedApplication] scheduleLocalNotification:notification];
- (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification
{
NSLog(@"notifify");
// Post NSNotification to set calendar 'today'
}
|
so can we change calendar date from notification notification fire date? |
In |
ok thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
i want to change current date on sunset time so please help me out.
example:-
suppose today date is 01/12/2015 and next date change date on 01/12/2015 at time of 7pm.
The text was updated successfully, but these errors were encountered: