0

I know we should be disposing of our SystemSoundID's when creating / preloading them, but my question is, if this also is true when we use apple's internal system sounds like 1104:

//Play Click Sound
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
    AudioServicesPlaySystemSound(1104);
});

Since we never have to actually create / preload them.

4

1 回答 1

2

AFAIK 没有。系统声音存储在 /System/Library/Audio/UISounds 中。除非您将它们加载到内存中,否则您不会释放任何内容。

于 2014-12-13T05:32:27.417 回答