Overwrite Local Notifications
I have a method that activates a local notification.

    UILocalNotification *localNotif = [[UILocalNotification alloc] init];
	if (localNotif == nil)
		return;
	localNotif.fireDate = itemDate;
	localNotif.timeZone = [NSTimeZone defaultTimeZone];
	
	// Notification details
	localNotif.alertBody = [mainTitle text];
	// Set the action button
	localNotif.alertAction = @"View";
	
	localNotif.soundName = UILocalNotificationDefaultSoundName;
	
	[[UIApplication sharedApplication] scheduleLocalNotification:localNotif];
	[localNotif release];

The problem is that if you call several times the method, do not overwrite the localNotif, but it adds another. How do I delete the old every time?

Thanks!
Overwrite Local Notifications
===

I have a method that activates a local notification.

    UILocalNotification *localNotif = [[UILocalNotification alloc] init];
	if (localNotif == nil)
		return;
	localNotif.fireDate = itemDate;
	localNotif.timeZone = [NSTimeZone defaultTimeZone];
	
	// Notification details
	localNotif.alertBody = [mainTitle text];
	// Set the action button
	localNotif.alertAction = @"View";
	
	localNotif.soundName = UILocalNotificationDefaultSoundName;
	
	[[UIApplication sharedApplication] scheduleLocalNotification:localNotif];
	[localNotif release];

The problem is that if you call several times the method, do not overwrite the localNotif, but it adds another. How do I delete the old every time?

Thanks!