spizzico7
spizzico7

Reputation: 11

UILocalNotification with repeatInterval how to set finish date?

i have a UILocalNotification with repeatInterval set like this:

UILocalNotification *ln = [[UILocalNotification alloc] init];
ln.alertBody         = text;
ln.timeZone          = [NSTimeZone defaultTimeZone];
ln.fireDate          = [self dateFromString:atDate];
ln.repeatInterval = NSDayCalendarUnit;

I want to stop the repeat at specified date.

How can i do this?

Thanks, Simone

Upvotes: 1

Views: 467

Answers (1)

Forrest
Forrest

Reputation: 620

According to the answer here: UILocalNotification end date, there is no such property found in the documentation for UILocaNotification.

Upvotes: 1

Related Questions