WatchOS 2 Experiments - New UI Components - Video
-
= XCode 8.0.
-
= Swift 3.
Tested on WatchOS2 Simulator.
this is the Xcode 8 / Swift 3 updated project.
To run the example project, clone the repo.
let url = NSBundle.mainBundle().URLForResource("file_name", withExtension: "m4v")
let poster = WKImage(imageName: "image_name")
self.movieUIPlayer.setMovieURL(url!)
self.movieUIPlayer.setLoops(false)
self.movieUIPlayer.setPosterImage(poster)