티스토리 뷰

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//ViewController
 
 
import UIKit
import AVFoundation
import AudioToolbox
 
 
class ViewController: UIViewController {
 
    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
    }
 
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
 
    @IBAction func buttonTapped(sender: AnyObject) {
        //http://iphonedevwiki.net/index.php/AudioServices 참조
        AudioServicesPlaySystemSound(4095)
        AudioServicesPlaySystemSound(1015)
        
        
    }
 
}
 
 
cs


저작자 표시 비영리 변경 금지
신고
Creative Commons License
Creative Commons License
댓글
댓글쓰기 폼
공지사항
최근에 달린 댓글
Total
2,824
Today
0
Yesterday
8
링크
«   2017/04   »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
글 보관함