func createSound() {
//建立的SystemSoundID對象
var soundID:SystemSoundID = 123
//獲取聲音地址
let path = Bundle.main.path(forResource: "3quan", ofType: "mp3")
//地址轉換
let baseURL = NSURL(fileURLWithPath: path!)
//賦值
AudioServicesCreateSystemSoundID(baseURL, &soundID)
//提醒(同上面唯一的一個區別)
AudioServicesPlayAlertSound(soundID)
}