Skip to content

feifeng/PlayButton

Repository files navigation

PlayButton

A play button similar to YouTtube

Preview

Play Button Demonstration An empty demo An empty demo
Photo Click Photo Click Photo Click

Features

  • Custom color
  • Non-picture
  • Button like YouTube
  • Compact and easy to use

Known issue

Installation

Requirements

  • Swift 4.2

Usage

let playButton = CAPlayButton(frame: CGRect(x: 150, y: 100, width: 100, height: 100))
playButton.addTarget(self, action: #selector(caPlayButtonPressed), for: .touchUpInside)
playButton.setTintColor(bluePlayButton.tintColor)
view.addSubview(playButton)

Author

Does your organization or project use PhotoBrowse? Please let me know by email.

License

PhotoBrowse is available under the MIT license. See the LICENSE file for more info.

Releases

No releases published

Packages

No packages published

Languages