I want to perform a card burn animation like I have a card of Spade and I want it to view like burn animation like burning from the bottom of card to top of the card and disappear at same time where it is burn . I know that i can use CAEmitterLayer
or Particle effect but I don't exactly know how can I use these. Can Anyone tell me how can I perform this?
let particleEffect = CAEmitterLayer()
let emitterCell = CAEmitterCell()
emitterCell.birthRate = 0.5
emitterCell.velocity = 10.0
emitterCell.lifetime = 100