任何人都可以帮助我得到这个工作我是一个noob programer,我无法找到一种方法来做到这一点。需要帮助将音频文件添加到快速按钮
代码如下
import UIKit
class ViewController: UIViewController {
@IBAction func pistolButton(sender: AnyObject) {
}
override func viewDidLoad() { // I want my audio file to play when button is tapped
super.viewDidLoad()
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
}
}
请编辑您的代码以获得某种感觉,过多的空白空函数并不是一个好问题。请参阅帮助中心获取有关询问优质问题的指导。 – Ajean 2014-10-27 01:29:45