在iOS中,我可以使用以下代码播放系统音效:
这是一个链接https://github.com/TUNER88/iOSSystemSoundsLibrary,其中列出了iOS中可用的系统声音。
我的问题是tvOS中是否有系统声音可用?如果有,那些是可用的。
// import this
import AVFoundation
// create a sound ID, in this case its the tweet sound.
let systemSoundID: SystemSoundID = 1016
// to play sound
AudioServicesPlaySystemSound (systemSoundID)
这是一个链接https://github.com/TUNER88/iOSSystemSoundsLibrary,其中列出了iOS中可用的系统声音。
我的问题是tvOS中是否有系统声音可用?如果有,那些是可用的。