User talk:Vinod1988: Difference between revisions

Discussion page of User:Vinod1988
(help with question)
 
Line 17: Line 17:


Hi Vinod1988! Are you still looking for an answer to this question? If so, I'd suggest checking out the new "How to ask for help" section on the [[Main Page]] - maybe IRC or Stack Overflow would be more helpful places to ask this question, since mostly people use this wiki for reference instead of discussion. [[User:Britta|Britta]] ([[User talk:Britta|talk]]) 14:13, 28 August 2013 (PDT)
Hi Vinod1988! Are you still looking for an answer to this question? If so, I'd suggest checking out the new "How to ask for help" section on the [[Main Page]] - maybe IRC or Stack Overflow would be more helpful places to ask this question, since mostly people use this wiki for reference instead of discussion. [[User:Britta|Britta]] ([[User talk:Britta|talk]]) 14:13, 28 August 2013 (PDT)
Hi!
Thnks for suggestion.

Latest revision as of 05:35, 29 August 2013

I have created a method that we have used to play the custom system sound on button click in iphone. but when i click on the record button and call the below method then not work this method. When relaunch the app then it will work. If i click again on the record button then not work. Can any one help me . How can i resolve it. or provide some sample code. I have download the apple sample code but not work in my scenario


 - (void)playSystemSound{ 
   SystemSoundID mySSID[10];
   NSString *path = [[NSBundle mainBundle] pathForResource:@"COWBELL1" ofType:@"caf"];
   NSURL *url = [[NSURL alloc] initFileURLWithPath:path];
   CFURLRef *urlRef =  (CFURLRef) [url retain];
   AudioServicesCreateSystemSoundID(urlRef, &mySSID[0]);
   AudioServicesPlaySystemSound(mySSID[0]);
  }

Hi!

Hi Vinod1988! Are you still looking for an answer to this question? If so, I'd suggest checking out the new "How to ask for help" section on the Main Page - maybe IRC or Stack Overflow would be more helpful places to ask this question, since mostly people use this wiki for reference instead of discussion. Britta (talk) 14:13, 28 August 2013 (PDT)

Hi! Thnks for suggestion.