Hi All,
I am using this code
NSString *sndFilePath = [[NSBundle mainBundle] pathForResource"test" ofType"mp3"];
for playing sound.
and
UIImage *img = [UIImage imageNamed"test.png"];
these work god in simulator
when i run on device, it does not find the file ! why ?
my image files are in resources/images section in xcode and sounds are in resources/sound/ group
--CH
I am using this code
NSString *sndFilePath = [[NSBundle mainBundle] pathForResource"test" ofType"mp3"];
for playing sound.
and
UIImage *img = [UIImage imageNamed"test.png"];
these work god in simulator
when i run on device, it does not find the file ! why ?
my image files are in resources/images section in xcode and sounds are in resources/sound/ group
--CH