You can use NSCalendar
and NSDateComponents
to accomplish this.
NSInteger daysToAdd = 5;
NSDate *currentDate = [NSDate date];
NSDateComponents *comps = [[NSDateComponents alloc] init];
[comps setDay:daysToAdd];
NSDate *newDate = [[NSCalendar currentCalendar] dateByAddingComponents:comps toDate:currentDate options:0];
4
solved UILocalNotification fire date computation