iOS 7 CAEmitterLayer spawning particles inappropriately

后端 未结 2 846
攒了一身酷
攒了一身酷 2020-12-23 12:49

Strange issue I can\'t seem to resolve where on iOS 7 only, CAEmitterLayer will spawn particles on the screen incorrectly when birth rate is initia

2条回答
  •  情书的邮戳
    2020-12-23 12:51

    For me, the issue with my CAEmitterLayer, when moving to iOS7 was the following:

    In iOS7 setting the CAEmitterLayerCell's duration resulted in the particle not showing at all!

    The only thing I had to change was remove the cell.duration = XXX and then my particles began showing up again. I am going to eat an Apple over this unexpected, unexplained hassle.

提交回复
热议问题