CAEmitterLayer emits random unwanted particles on touch events
问题 I'm trying to set up a CAEmitterLayer to make a confetti effect, and I've run into two issues: Whenever I set the birthRate on my cells to something non-zero to start the animation I get a flurry of cells placed randomly on screen, which animate normally, and then the emitter continues to emit properly after that. Whenever the emitterCells are drawing things on screen, any time I touch the screen, the emitter draws emitterCells in (seemingly) random locations that exist for a (seemingly)