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.
精彩评论