Copy system file to my bundle
with iphone SDK 4.0 i want to use some system sound files eg /System/Library/Audio/UISounds/dtmf-0.caf I was thinking it is开发者_Go百科 best to have this in my own bundle but how to copy it to my bundle.
Thanks
Any file you drag into your project and add to your target (which should be default) will get copied into the application bundle when you build it. You may not have the legal right to distribute sound files that are part of OS X though.
精彩评论