Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @IBOutlet weak var myMovie: WKInterfaceInlineMovie!
- func playSound(numberOfNote: Int) {
- let soundURL = Bundle.main.url(forResource: "note(numberOfNote)", withExtension: "wav")!
- myMovie.setMovieURL(soundURL)
- myMovie.playFromBeginning()
- }
Add Comment
Please, Sign In to add comment