Как добавить звук для UILocalNotification?
Я сделал с базовым уведомлением для моего приложения. Я хочу добавить звуковой эффект к моему уведомлению.
UILocalNotification *localNotification = [[UILocalNotification alloc] init];
if (localNotification == nil)
return;
localNotification.fireDate = [NSDate date];
//localNotification.timeZone = [NSTimeZone defaultTimeZone];
localNotification.alertBody = msg;
localNotification.soundName = @"Morse.aiff";
[[UIApplication sharedApplication] presentLocalNotificationNow:localNotification];
Как добавить звуковой эффект?