SystemSounds 1.0.1× 测试已测试✗ 语言语言 SwiftSwift许可证 MIT 发布时间最后发布2017 年 8 月 SwiftSwift 版本3.0 SPM支持 SPM✗由 Meniny 维护。安装指南×SystemSounds 安装指南您想在 Podfile 中添加类似于以下内容的 pod 'SystemSounds', '~> 1.0'target 'MyApp' do pod 'SystemSounds', '~> 1.0' end然后在终端内或从 CocoaPods.app 运行 pod install另外,为了测试运行,运行以下命令pod try SystemSounds查看 PodspecGitHub 仓库CocoaPods.org 上的页面SystemSounds 1.0.1由Meninymeniny.cnMeniny/SystemSoundsGitHub 仓库 SystemSounds 一个 iOS 系统声音播放框架。 要求 iOS 8.0+ macOS 10.9+ Xcode 8 至 Swift 3 用法 import SystemSounds let id = SystemSounds.IDs.SMSReceivedSelectionSMSReceived1 SystemSounds.play(soundID: id.rawValue)