简体   繁体   中英

In UILocalNotification sound set recorded audio

I need your help. Actually the problem is that i want to set the recorded audio file (which is saved in application document directory) to be used as sound for local notification. I searched a lot and concluded that sound file that we have to use in local notification must be in Application Bundle. So if any idea about saving recorded audio file in Application bundle at run time will also do my task

No you can not play an audio file that is not in the bundle and you can not modify the application bundle at runtime. One reason why Apple requires all sounds for local notifications to be bundled with the application may be for security reasons, that would make it possible for all bundled files to be checked for security risks during the review process.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM