"今日头条" app 的直播间 点赞效果!
JQEmitButton is a subclass of UIButton and perform dazzle animation for touch event.It is easily to use and custom your style.
Used in xib/storyboard file:
Change the "class name" to "JQEmitterButton"
Used in swift file:
let emitterBtn = JQEmitterButton(frame: btnFrame)
emitterBtn.blingImage = aImage
Click JQEmitterButton to make dazzle bubbles or call the method below to make these automatically :
emitterBtn.emit(count: 100)
- iOS 10.0+
- Ver 1.0
- First Commit