(void) setAlarmOfDoom:(NSDate *)newAlarm {
{
UIApplication* app = [UIApplication sharedApplication];
// Create a new notification.
for(int i = 0; i < 10 ; i++) {
UILocalNotification* alarm = [[[UILocalNotification alloc] init] autorelease];
if (alarm)
{
alarm.fireDate = newAlarm;
alarm.timeZone = [NSTimeZone defaultTimeZone];
alarm.repeatInterval = 2;
alarm.alertBody = (a)"BOOM!.";
[app scheduleLocalNotification:alarm];
}
}
}
Источник - http://www.pastie.org/private/orzgwxc2ax80vrs8v0rew
Мож кто попробует?

All that is necessary for the triumph of evil is that good men do nothing. Do something. Как верно сказано

ЗЫ Если че, снесите в курилку...

Мой ежепятничный тост - за сухопутную границу между Грузией и Украиной!