8
मैं खेलने के लिए नीचे दिए गए कोड का उपयोग ध्वनिदोहराने स्वचालित रूप से चलना
NSURL* musicFile = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"01" ofType:@"mp3"]];
AVAudioPlayer *audioPlayer = [[AVAudioPlayer alloc] initWithContentsOfURL:musicFile error:nil];
[audioPlayer play];
मैं जब यह खत्म कैसा है स्वचालित रूप से इस ध्वनि फ़ाइल दोहराना चाहते हैं?
एक पाश में डाल दिया? – Chris