스위프트 녹음1 16 ios 스위프트 오디오&녹음 어플 구현 //// ViewController.swift// Audio//// Created by MacBookPro on 2017. 11. 28..// Copyright © 2017년 MacBookPro. All rights reserved.////오디오를 재생하려면 헤더 파일과 델리게이트가 필요하다.import UIKitimport AVFoundationclass ViewController: UIViewController,AVAudioPlayerDelegate, AVAudioRecorderDelegate{ //변수 및 상수 var audioPlayer : AVAudioPlayer! //avaudioplayer인스턴스 변수 var audioFile : URL! // 재생할 오디오의 파일명 변수 let MAX_VO.. 2017. 11. 28. 이전 1 다음