Skip to content

Sweefties/WatchOS2-NewUI-Movie-Example

Repository files navigation

WatchOS2-NewUI-Movie-Example

WatchOS 2 Experiments - New UI Components - Video

Example

Requirements

  • = XCode 8.0.

  • = Swift 3.

Tested on WatchOS2 Simulator.

Important

this is the Xcode 8 / Swift 3 updated project.

Usage

To run the example project, clone the repo.

Extra Simple!

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)

About

WatchOS 2 Experiments - New UI Components - Video

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages