The demo download address: http://download.csdn.net/detail/donny_zhang/5580741 emitterPosition: launch position emitterSize: the size of the source; EmitterMode: emission mode NSString * const kCAEmitterLayerPoints; NSString * const kCAEmitterLayerOutline; NSString * const kCAEmitterLayerSurface; NSString * const kCAEmitterLayerVolume; EmitterShape: source shape: NSString * const kCAEmitterLayerPoint; NSString * const kCAEmitterLayerLine; NSString * const kCAEmitterLayerRectangle; NSString * const kCAEmitterLayerCuboid; NSString * const kCAEmitterLayerCircle; NSString * const kCAEmitterLayerSphere; RenderMode: NSString * const kCAEmitterLayerUnordered; NSString * const kCAEmitterLayerOldestFirst; NSString * const kCAEmitterLayerOldestLast; NSString * const kCAEmitterLayerBackToFront; NSString * const kCAEmitterLayerAdditive; Properties: birthRate: Particle generation coefficient, default 1.0; EmitterCells: An array of CaemitterCells used to drop particles onto the layer; EmitterDepth: An emitterDepth relationship that determines the shape of a particle. EmitterZposition: the z-coordinate position of the emitter. Lifetime particle life cycle preservesDepth: very clear (the particles are flat on the layer) scale: seed: used to initialize the seed generated by the random number spin: CAEmitterCell Class represents the particles emitted from the CAEmitterLayer; An emitter cell defines the direction in which a particle can be emitted. AlphaRange: The range within which a particle's color alpha can change; AlphaSpeed: The rate at which a particle's transparency changes over its lifetime; Birthrate: Speed multiplier for particle parameters; BlueRange: The range within which a particle's color blue can change; BlueSpeed: The rate at which the particle blue changes during its life cycle; Color: the color of the particle contents: is a CGImageRef object, which is the image of the particle to be displayed; ContentsRect: rectangle: emissionLatitude: the Angle of emissionLongitude in the X-y plane emissionRange; EmitterCells: the particle emitted by the particle Enabled: Whether the particle is rendered Greenrange: The range in which a particle's color, green, can be changed; GreenSpeed: The speed at which the particle green changes during its life cycle; Lifetime = Lifetime (+/-) lifetimeRange magnificent Filter: MinificatonFilter: minificationFilterBias: the factor that reduces its size. Name: the name of the particle. RedSpeed: The speed at which the particle red changes during its life cycle; Scale: scale scale: scaleRange: scale range. ScaleSpeed: speed: spin: spinrange: style: not clear: velocity: velocityRange: xAcceleration: So, the acceleration of the particle in the x direction, yAcceleration of the particle in the y direction, zAcceleration of the particle in the Z directionCopy the code