I am working on AlarmClock application.In this user records his/her sound and set the alarms.For this I am using UILocalNotification and in this I want to set recorded sound when alert comes. The issue is in set sound to UILocalNotification.I surf for that and found you have to save recorded file in application's main bundle not in document directory.So I surf for write file in application's main bundle and I found that you can not write file in main bundle.
So please give me suggestion for how to play recorded audio when notification comes.
http://itunes.apple.com/sg/app/aida-reminder-lite-voice-reminders/id469454389?mt=8&ls=1
this application works fine with same functionality that I want.
I think this is not possible. UINotification can only search the main bundle for custom sound resource and you can not write to the main bundle at runtime.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With