I have this so far and don't know what to do next.I currently have a button in my view controller with an image (play image) and want to change it to pause image when clicked.
import UIKit
import AVFoundation
class VesuviusViewController: UIViewController {
@IBOutlet weak var PausePlay: UIButton!
@IBAction func playPressed(sender: AnyObject) {
VesSet()
}