![]() |
|
Sound's working on simulator but not on device - Printable Version +- iDevGames Forums (http://www.idevgames.com/forums) +-- Forum: Development Zone (/forum-3.html) +--- Forum: Graphics & Audio Programming (/forum-9.html) +--- Thread: Sound's working on simulator but not on device (/thread-2143.html) |
Sound's working on simulator but not on device - cceetix - Nov 16, 2008 03:52 PM Helle everyone ! I have a problem ... I would like te play a short sound on my iPhone. On the simulator it's working perfectly but when I put my app on my iphone nothing happends ... Why ? Here's my code : SoundEffect .h Code: #import <UIKit/UIKit.h>SoundEffect.m Code: #import "SoundEffect.h"MyView.h Code: #import <UIKit/UIKit.h>MyView.m Code: - (void)awakeFromNib { So it's working 100% on simulator. I don't understand why it's not working on my device. I have correctly imported my sound in my project... Please I need some help ![]() Thanks ! Sound's working on simulator but not on device - Zunnun - Dec 4, 2008 06:12 PM Device supports .caf, aif & wav. but simulator also supports mp3 ! |