开发者

how can I fix the sound problem through my iPhone Application

I am using Singleton in my iphone project. when I click on the sound button (I am using Singleton) for sound.开发者_开发知识库 when I click on the play (it will take 2 or 3 nano second) and then after the sound will play..

How can I fix this problem of sound..


Make sure you have your audio session initialized before you play your first sound. You could do that on the

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions

method.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜