Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 1.11 KB

File metadata and controls

52 lines (33 loc) · 1.11 KB

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.