Question is in the title: "Do I need to release SystemSoundID if I have ARC on?" Here is my Code:
NSURL *pathURL = [NSURL fileURLWithPath:path];
SystemSoundID soundid;
AudioServicesCreateSystemSoundID((__bridge_retained CFURLRef)pathURL, &soundid);
AudioServicesPlaySystemSound(soundid);
And if so, when do I release it? (I don't have a dealloc method because I'm using a static method and that cannot be changed)
Also, is this currently the best way to play a sound effect I heard this framework is now deprecated.
THANKS!